Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t3tools/desktop",
"version": "0.1.9",
"version": "0.1.10",
"private": true,
"type": "module",
"main": "dist-electron/main.cjs",
Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "t3",
"version": "0.1.9",
"version": "0.1.10",
"private": true,
"license": "MIT",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t3tools/web",
"version": "0.1.9",
"version": "0.1.10",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@t3tools/contracts",
"version": "0.1.9",
"version": "0.1.10",
"private": true,
"files": [
"dist"
Expand Down
16 changes: 8 additions & 8 deletions scripts/desktop-release-evidence.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as NodePath from "node:path";

import { writeDesktopReleaseEvidence } from "./desktop-release-evidence.ts";

function runtimeProvenance(version = "0.1.9", platform = "darwin", arch = "arm64"): string {
function runtimeProvenance(version = "0.1.10", platform = "darwin", arch = "arm64"): string {
const statement = {
_type: "https://in-toto.io/Statement/v1",
predicateType: "https://slsa.dev/provenance/v1",
Expand All @@ -28,7 +28,7 @@ it("writes checksum, runtime provenance, and unsigned preview status", async ()
const root = await NodeFSP.mkdtemp(
NodePath.join(NodeOS.tmpdir(), "sigma-desktop-evidence-test-"),
);
const artifactPath = NodePath.join(root, "Sigma-Code-0.1.9-arm64.dmg");
const artifactPath = NodePath.join(root, "Sigma-Code-0.1.10-arm64.dmg");
const runtimeProvenancePath = NodePath.join(root, "agent-cli-darwin-arm64.provenance.json");
await NodeFSP.writeFile(artifactPath, "dmg fixture", "utf8");
await NodeFSP.writeFile(runtimeProvenancePath, runtimeProvenance(), "utf8");
Expand All @@ -38,7 +38,7 @@ it("writes checksum, runtime provenance, and unsigned preview status", async ()
runtimeProvenancePath,
platform: "darwin",
arch: "arm64",
version: "0.1.9",
version: "0.1.10",
signingMode: "unsigned",
codesign: "not-signed",
gatekeeper: "not-applicable",
Expand All @@ -56,7 +56,7 @@ it("rejects signed evidence unless every notarization gate passed", async () =>
const root = await NodeFSP.mkdtemp(
NodePath.join(NodeOS.tmpdir(), "sigma-desktop-evidence-signed-test-"),
);
const artifactPath = NodePath.join(root, "Sigma-Code-0.1.9-arm64.dmg");
const artifactPath = NodePath.join(root, "Sigma-Code-0.1.10-arm64.dmg");
const runtimeProvenancePath = NodePath.join(root, "runtime.json");
await NodeFSP.writeFile(artifactPath, "dmg fixture", "utf8");
await NodeFSP.writeFile(runtimeProvenancePath, runtimeProvenance(), "utf8");
Expand All @@ -67,7 +67,7 @@ it("rejects signed evidence unless every notarization gate passed", async () =>
runtimeProvenancePath,
platform: "darwin",
arch: "arm64",
version: "0.1.9",
version: "0.1.10",
signingMode: "signed",
codesign: "pass",
gatekeeper: "pass",
Expand All @@ -84,12 +84,12 @@ it("rejects a raw provenance statement instead of treating it as a DSSE envelope
const root = await NodeFSP.mkdtemp(
NodePath.join(NodeOS.tmpdir(), "sigma-desktop-evidence-envelope-test-"),
);
const artifactPath = NodePath.join(root, "Sigma-Code-0.1.9-arm64.dmg");
const artifactPath = NodePath.join(root, "Sigma-Code-0.1.10-arm64.dmg");
const runtimeProvenancePath = NodePath.join(root, "runtime.json");
await NodeFSP.writeFile(artifactPath, "dmg fixture", "utf8");
await NodeFSP.writeFile(
runtimeProvenancePath,
'{"predicate":{"buildDefinition":{"externalParameters":{"version":"0.1.9","targetPlatform":"darwin","targetArch":"arm64"}}}}\n',
'{"predicate":{"buildDefinition":{"externalParameters":{"version":"0.1.10","targetPlatform":"darwin","targetArch":"arm64"}}}}\n',
"utf8",
);
let failure: unknown;
Expand All @@ -99,7 +99,7 @@ it("rejects a raw provenance statement instead of treating it as a DSSE envelope
runtimeProvenancePath,
platform: "darwin",
arch: "arm64",
version: "0.1.9",
version: "0.1.10",
signingMode: "unsigned",
codesign: "not-signed",
gatekeeper: "not-applicable",
Expand Down
Loading