@treeseed/sdk 0.13.0-rc.92 → 0.13.0-rc.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.treeseed-build-complete.json +1 -1
- package/dist/operator-contracts/canonical-command-tree.js +3 -1
- package/dist/operator-contracts/control-plane-operations.d.ts +4 -0
- package/dist/operator-contracts/control-plane-operations.js +2 -1
- package/dist/treedx/client.d.ts +8 -0
- package/dist/treedx/contract.d.ts +4 -4
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"completedAt":"2026-09-
|
|
1
|
+
{"completedAt":"2026-09-07T10:58:49.818Z"}
|
|
@@ -90,6 +90,7 @@ const operationBindings = {
|
|
|
90
90
|
"host initialize": local("local.host.initialize"),
|
|
91
91
|
"dev session start": local("local.dev.session.start"),
|
|
92
92
|
"dev session stop": local("local.dev.session.stop"),
|
|
93
|
+
"dev session recover": local("local.dev.session.recover"),
|
|
93
94
|
"dev use": local("local.dev.use"),
|
|
94
95
|
"dev rebuild": local("local.dev.rebuild"),
|
|
95
96
|
"dev status": local("local.dev.status"),
|
|
@@ -386,7 +387,8 @@ const commandTree = {
|
|
|
386
387
|
]),
|
|
387
388
|
branch("session", [
|
|
388
389
|
developmentCommand("start", "mutation", "manifest", [{ name: "--actor", description: "Audited development-session actor.", type: "string" }, { name: "--lease-seconds", description: "Requested bounded lease duration.", type: "number" }]),
|
|
389
|
-
developmentCommand("stop", "mutation", void 0, [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--restore", description: "Restore released routes and targets.", type: "boolean" }])
|
|
390
|
+
developmentCommand("stop", "mutation", void 0, [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--restore", description: "Restore released routes and targets.", type: "boolean" }]),
|
|
391
|
+
developmentCommand("recover", "mutation", void 0, [{ name: "--session", description: "Exact manager session whose local custody should be recovered.", type: "string", required: true }])
|
|
390
392
|
]),
|
|
391
393
|
developmentCommand("use", "mutation", "selection", [{ name: "--session", description: "Development session identity.", type: "string" }, { name: "--target", description: "Additional project.target=mode selections.", type: "string[]" }]),
|
|
392
394
|
developmentCommand("rebuild", "mutation", "target", [{ name: "--session", description: "Development session identity.", type: "string" }]),
|
|
@@ -2355,6 +2355,10 @@ export declare const CONTROL_PLANE_OPERATIONS: {
|
|
|
2355
2355
|
projectId: string;
|
|
2356
2356
|
repoId: string;
|
|
2357
2357
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
2358
|
+
readonly refresh: import("./control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
2359
|
+
projectId: string;
|
|
2360
|
+
repoId: string;
|
|
2361
|
+
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
2358
2362
|
};
|
|
2359
2363
|
};
|
|
2360
2364
|
readonly providers: {
|
|
@@ -441,7 +441,8 @@ const CONTROL_PLANE_OPERATIONS = {
|
|
|
441
441
|
remove: treedxProxy("treedx.repositories.artifacts.delete", "deleteArtifact", "DELETE", "/v1/dx/projects/{projectId}/repos/{repoId}/artifacts/{artifactId}", { projectId: z.string().min(1), repoId: z.string().min(1), artifactId: z.string().min(1) }, { risk: "destructive" })
|
|
442
442
|
},
|
|
443
443
|
searchIndex: {
|
|
444
|
-
status: treedxProxy("treedx.repositories.search.index.status", "getSearchIndexStatus", "GET", "/v1/dx/projects/{projectId}/repos/{repoId}/search-index", { projectId: z.string().min(1), repoId: z.string().min(1) })
|
|
444
|
+
status: treedxProxy("treedx.repositories.search.index.status", "getSearchIndexStatus", "GET", "/v1/dx/projects/{projectId}/repos/{repoId}/search-index", { projectId: z.string().min(1), repoId: z.string().min(1) }),
|
|
445
|
+
refresh: treedxProxy("treedx.repositories.search.index.refresh", "refreshSearchIndex", "POST", "/v1/dx/projects/{projectId}/repos/{repoId}/search-index/refresh", { projectId: z.string().min(1), repoId: z.string().min(1) })
|
|
445
446
|
}
|
|
446
447
|
},
|
|
447
448
|
providers: {
|
package/dist/treedx/client.d.ts
CHANGED
|
@@ -290,6 +290,10 @@ export declare const TREESEED_TREEDX_OPERATIONS: {
|
|
|
290
290
|
projectId: string;
|
|
291
291
|
repoId: string;
|
|
292
292
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
293
|
+
readonly refresh: ControlPlaneOperationBinding<{
|
|
294
|
+
projectId: string;
|
|
295
|
+
repoId: string;
|
|
296
|
+
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
293
297
|
};
|
|
294
298
|
};
|
|
295
299
|
type TreeDxProxyMethod<TOperation extends ControlPlaneOperationBinding<any, any, any, any>> = (input: ControlPlaneInvocation<ControlPlaneOperationPath<TOperation>, ControlPlaneOperationQuery<TOperation>, ControlPlaneOperationBody<TOperation>>, options?: ControlPlaneOperationCallOptions) => Promise<ControlPlaneResponseEnvelope<ControlPlaneOperationOutput<TOperation>>>;
|
|
@@ -588,6 +592,10 @@ export declare class TreeSeedTreeDxClient {
|
|
|
588
592
|
projectId: string;
|
|
589
593
|
repoId: string;
|
|
590
594
|
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
595
|
+
readonly refresh: ControlPlaneOperationBinding<{
|
|
596
|
+
projectId: string;
|
|
597
|
+
repoId: string;
|
|
598
|
+
}, {}, Record<string, unknown> | undefined, Record<string, unknown>>;
|
|
591
599
|
};
|
|
592
600
|
};
|
|
593
601
|
readonly proxy: TreeDxProxyGroups<typeof TREESEED_TREEDX_OPERATIONS>;
|
|
@@ -13,11 +13,11 @@ export declare function treeDxProxyOperationMapping(): {
|
|
|
13
13
|
export declare function validateTreeDxProxyOperationMapping(): string[];
|
|
14
14
|
export declare function createTreeDxServiceContractReceipt(controlPlaneCatalogDigest: `sha256:${string}`, evidence: TreeDxAdoptionEvidence): Promise<{
|
|
15
15
|
readonly schema: "treeseed.treedx-service-contract/v1";
|
|
16
|
-
readonly treedxPackageVersion: "0.3.0-rc.
|
|
16
|
+
readonly treedxPackageVersion: "0.3.0-rc.17";
|
|
17
17
|
readonly treedxOpenapiVersion: "0.11.1";
|
|
18
|
-
readonly treedxOpenapiDigest: "sha256:
|
|
19
|
-
readonly treedxOperationInventoryDigest: "sha256:
|
|
20
|
-
readonly treedxGeneratedTypesDigest: "sha256:
|
|
18
|
+
readonly treedxOpenapiDigest: "sha256:90b040cc8372e1359e77c1a4e7c23c930365202c5eb0a9d4ca865d2f11eb48e1";
|
|
19
|
+
readonly treedxOperationInventoryDigest: "sha256:4f481063ad858cbade4d5fa19c529aca4f108c3e70f12c55ed645c8b412bb17b";
|
|
20
|
+
readonly treedxGeneratedTypesDigest: "sha256:b920eba21f37637c5907d2377a5c55ea5084f5c92100dceeb10b03f7749a74b2";
|
|
21
21
|
readonly treedxSourceCommit: string;
|
|
22
22
|
readonly treedxPackageArtifactDigest: `sha256:${string}`;
|
|
23
23
|
readonly controlPlaneCatalogDigest: `sha256:${string}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeseed/sdk",
|
|
3
|
-
"version": "0.13.0-rc.
|
|
3
|
+
"version": "0.13.0-rc.94",
|
|
4
4
|
"description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"standards:release-evidence": "node --import tsx ./scripts/standards/create-release-evidence.ts"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@treeseed/treedx": "0.3.0-rc.
|
|
54
|
+
"@treeseed/treedx": "0.3.0-rc.17",
|
|
55
55
|
"esbuild": "^0.28.0",
|
|
56
56
|
"libsodium-wrappers-sumo": "0.8.4",
|
|
57
57
|
"typescript": "^5.9.3",
|