@open-agent-toolkit/cli 0.2.50 → 0.2.52
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/assets/bundle-metadata.json +1 -1
- package/assets/docs/cli-utilities/bootstrap.md +6 -2
- package/assets/docs/cli-utilities/tool-packs.md +87 -33
- package/assets/docs/provider-sync/commands.md +30 -2
- package/assets/docs/provider-sync/config.md +19 -0
- package/assets/docs/provider-sync/manifest-and-drift.md +37 -0
- package/assets/docs/provider-sync/providers.md +69 -2
- package/assets/docs/provider-sync/scope-and-surface.md +44 -0
- package/assets/docs/reference/cli-reference.md +21 -5
- package/assets/docs/reference/file-locations.md +8 -2
- package/assets/docs/reference/oat-directory-structure.md +25 -9
- package/assets/docs/workflows/projects/artifacts.md +9 -4
- package/assets/docs/workflows/projects/evidence-layers.md +110 -1
- package/assets/docs/workflows/projects/implementation-execution.md +13 -0
- package/assets/docs/workflows/projects/lifecycle.md +17 -5
- package/assets/docs/workflows/projects/orchestration-model.md +18 -0
- package/assets/docs/workflows/projects/picking-up-projects.md +26 -9
- package/assets/docs/workflows/projects/pr-flow.md +5 -3
- package/assets/docs/workflows/projects/reviewing-oat-prs.md +12 -8
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/oat-dispatch-subagents/SKILL.md +57 -1
- package/assets/skills/oat-dispatch-subagents/references/record-schema.md +77 -1
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +3 -3
- package/assets/skills/oat-project-complete/SKILL.md +193 -26
- package/assets/skills/oat-project-complete/scripts/execute-synced-archive-entry.mjs +306 -0
- package/assets/skills/oat-project-complete/scripts/finalize-synced-archive.mjs +125 -0
- package/assets/skills/oat-project-complete/scripts/parse-synced-archive-resume-fields.mjs +106 -0
- package/assets/skills/oat-project-complete/scripts/recover-completion-receipts.mjs +110 -0
- package/assets/skills/oat-project-complete/scripts/resolve-synced-archive-entry.mjs +164 -0
- package/assets/skills/oat-project-dispatch-subagents/SKILL.md +24 -1
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +3 -3
- package/assets/skills/oat-project-implement/references/dispatch-and-dry-run.md +11 -0
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +3 -3
- package/assets/skills/oat-project-plan-writing/SKILL.md +12 -1
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +3 -3
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +3 -3
- package/assets/skills/oat-project-review-provide/SKILL.md +12 -1
- package/assets/skills/oat-project-review-provide-remote/SKILL.md +12 -1
- package/dist/agents/canonical/index.d.ts +2 -0
- package/dist/agents/canonical/index.d.ts.map +1 -1
- package/dist/agents/canonical/index.js +1 -0
- package/dist/agents/canonical/resolve.d.ts +45 -0
- package/dist/agents/canonical/resolve.d.ts.map +1 -0
- package/dist/agents/canonical/resolve.js +175 -0
- package/dist/commands/decision/agents-guidance.d.ts +2 -2
- package/dist/commands/decision/agents-guidance.d.ts.map +1 -1
- package/dist/commands/decision/agents-guidance.js +1 -4
- package/dist/commands/decision/index.d.ts.map +1 -1
- package/dist/commands/decision/index.js +25 -6
- package/dist/commands/docs/init/index.d.ts +7 -1
- package/dist/commands/docs/init/index.d.ts.map +1 -1
- package/dist/commands/docs/init/index.js +53 -20
- package/dist/commands/doctor/index.d.ts +8 -2
- package/dist/commands/doctor/index.d.ts.map +1 -1
- package/dist/commands/doctor/index.js +157 -46
- package/dist/commands/init/index.d.ts +8 -3
- package/dist/commands/init/index.d.ts.map +1 -1
- package/dist/commands/init/index.js +64 -26
- package/dist/commands/init/tools/index.d.ts +12 -12
- package/dist/commands/init/tools/index.d.ts.map +1 -1
- package/dist/commands/init/tools/index.js +430 -99
- package/dist/commands/init/tools/install-state.d.ts +2 -0
- package/dist/commands/init/tools/install-state.d.ts.map +1 -1
- package/dist/commands/init/tools/install-state.js +11 -0
- package/dist/commands/init/tools/project-guidance.d.ts +49 -0
- package/dist/commands/init/tools/project-guidance.d.ts.map +1 -0
- package/dist/commands/init/tools/project-guidance.js +144 -0
- package/dist/commands/init/tools/workflows/index.d.ts +7 -0
- package/dist/commands/init/tools/workflows/index.d.ts.map +1 -1
- package/dist/commands/init/tools/workflows/index.js +160 -7
- package/dist/commands/pjm/index.d.ts.map +1 -1
- package/dist/commands/pjm/index.js +28 -3
- package/dist/commands/pjm/init.d.ts +5 -0
- package/dist/commands/pjm/init.d.ts.map +1 -1
- package/dist/commands/pjm/init.js +19 -3
- package/dist/commands/project/archive/archive-utils.d.ts +8 -1
- package/dist/commands/project/archive/archive-utils.d.ts.map +1 -1
- package/dist/commands/project/archive/archive-utils.js +147 -50
- package/dist/commands/project/archive/push-runner.d.ts.map +1 -1
- package/dist/commands/project/archive/push-runner.js +15 -2
- package/dist/commands/project/dispatch/index.d.ts +10 -0
- package/dist/commands/project/dispatch/index.d.ts.map +1 -0
- package/dist/commands/project/dispatch/index.js +137 -0
- package/dist/commands/project/dispatch/record.d.ts +91 -0
- package/dist/commands/project/dispatch/record.d.ts.map +1 -0
- package/dist/commands/project/dispatch/record.js +402 -0
- package/dist/commands/project/index.d.ts.map +1 -1
- package/dist/commands/project/index.js +2 -0
- package/dist/commands/project/links/compute.d.ts +1 -0
- package/dist/commands/project/links/compute.d.ts.map +1 -1
- package/dist/commands/project/links/compute.js +5 -4
- package/dist/commands/project/links/index.d.ts +9 -0
- package/dist/commands/project/links/index.d.ts.map +1 -1
- package/dist/commands/project/links/index.js +71 -2
- package/dist/commands/project/list.d.ts +10 -2
- package/dist/commands/project/list.d.ts.map +1 -1
- package/dist/commands/project/list.js +205 -29
- package/dist/commands/project/open/index.d.ts +2 -0
- package/dist/commands/project/open/index.d.ts.map +1 -1
- package/dist/commands/project/open/index.js +16 -1
- package/dist/commands/project/prune/index.d.ts +10 -4
- package/dist/commands/project/prune/index.d.ts.map +1 -1
- package/dist/commands/project/prune/index.js +85 -15
- package/dist/commands/project/pull/index.d.ts +4 -0
- package/dist/commands/project/pull/index.d.ts.map +1 -1
- package/dist/commands/project/pull/index.js +82 -3
- package/dist/commands/project/sync/git.d.ts +9 -0
- package/dist/commands/project/sync/git.d.ts.map +1 -1
- package/dist/commands/project/sync/git.js +18 -0
- package/dist/commands/project/sync/ref-sync.d.ts +16 -1
- package/dist/commands/project/sync/ref-sync.d.ts.map +1 -1
- package/dist/commands/project/sync/ref-sync.js +288 -17
- package/dist/commands/project/sync/resolve-target.d.ts +10 -0
- package/dist/commands/project/sync/resolve-target.d.ts.map +1 -1
- package/dist/commands/project/sync/resolve-target.js +56 -1
- package/dist/commands/providers/inspect/inspect.d.ts +8 -1
- package/dist/commands/providers/inspect/inspect.d.ts.map +1 -1
- package/dist/commands/providers/inspect/inspect.js +146 -26
- package/dist/commands/providers/list/list.d.ts +8 -1
- package/dist/commands/providers/list/list.d.ts.map +1 -1
- package/dist/commands/providers/list/list.js +139 -23
- package/dist/commands/providers/providers.types.d.ts +25 -1
- package/dist/commands/providers/providers.types.d.ts.map +1 -1
- package/dist/commands/providers/set/index.d.ts +9 -1
- package/dist/commands/providers/set/index.d.ts.map +1 -1
- package/dist/commands/providers/set/index.js +43 -33
- package/dist/commands/remove/skill/remove-skill.d.ts.map +1 -1
- package/dist/commands/remove/skill/remove-skill.js +11 -0
- package/dist/commands/shared/agents-md.d.ts +42 -14
- package/dist/commands/shared/agents-md.d.ts.map +1 -1
- package/dist/commands/shared/agents-md.js +364 -70
- package/dist/commands/shared/project-scope.d.ts +2 -0
- package/dist/commands/shared/project-scope.d.ts.map +1 -1
- package/dist/commands/shared/project-scope.js +5 -0
- package/dist/commands/state/generate.d.ts +2 -0
- package/dist/commands/state/generate.d.ts.map +1 -1
- package/dist/commands/state/generate.js +93 -28
- package/dist/commands/status/index.d.ts +8 -3
- package/dist/commands/status/index.d.ts.map +1 -1
- package/dist/commands/status/index.js +147 -32
- package/dist/commands/sync/apply.d.ts.map +1 -1
- package/dist/commands/sync/apply.js +220 -29
- package/dist/commands/sync/dry-run.d.ts.map +1 -1
- package/dist/commands/sync/dry-run.js +30 -6
- package/dist/commands/sync/index.d.ts +17 -2
- package/dist/commands/sync/index.d.ts.map +1 -1
- package/dist/commands/sync/index.js +106 -41
- package/dist/commands/sync/sync.types.d.ts +39 -2
- package/dist/commands/sync/sync.types.d.ts.map +1 -1
- package/dist/commands/sync/sync.utils.d.ts +5 -1
- package/dist/commands/sync/sync.utils.d.ts.map +1 -1
- package/dist/commands/sync/sync.utils.js +73 -0
- package/dist/commands/tools/info/info-tool.d.ts +2 -0
- package/dist/commands/tools/info/info-tool.d.ts.map +1 -1
- package/dist/commands/tools/info/info-tool.js +34 -12
- package/dist/commands/tools/install/index.d.ts.map +1 -1
- package/dist/commands/tools/install/index.js +19 -3
- package/dist/commands/tools/list/list-tools.d.ts +2 -0
- package/dist/commands/tools/list/list-tools.d.ts.map +1 -1
- package/dist/commands/tools/list/list-tools.js +36 -7
- package/dist/commands/tools/remove/index.d.ts.map +1 -1
- package/dist/commands/tools/remove/index.js +150 -21
- package/dist/commands/tools/remove/remove-tools.d.ts +20 -0
- package/dist/commands/tools/remove/remove-tools.d.ts.map +1 -1
- package/dist/commands/tools/remove/remove-tools.js +122 -1
- package/dist/commands/tools/shared/format-pack-inventory.d.ts +19 -0
- package/dist/commands/tools/shared/format-pack-inventory.d.ts.map +1 -1
- package/dist/commands/tools/shared/format-pack-inventory.js +109 -0
- package/dist/commands/tools/shared/pack-evidence.d.ts +66 -0
- package/dist/commands/tools/shared/pack-evidence.d.ts.map +1 -0
- package/dist/commands/tools/shared/pack-evidence.js +132 -0
- package/dist/commands/tools/shared/pack-inventory.d.ts +1 -0
- package/dist/commands/tools/shared/pack-inventory.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts +44 -0
- package/dist/commands/tools/shared/pack-lifecycle-outcome.d.ts.map +1 -0
- package/dist/commands/tools/shared/pack-lifecycle-outcome.js +91 -0
- package/dist/commands/tools/update/index.d.ts.map +1 -1
- package/dist/commands/tools/update/index.js +74 -4
- package/dist/commands/tools/update/update-tools.d.ts +5 -0
- package/dist/commands/tools/update/update-tools.d.ts.map +1 -1
- package/dist/commands/tools/update/update-tools.js +64 -2
- package/dist/config/oat-config.d.ts +5 -0
- package/dist/config/oat-config.d.ts.map +1 -1
- package/dist/config/oat-config.js +17 -5
- package/dist/config/user-sync-config.d.ts +1 -0
- package/dist/config/user-sync-config.d.ts.map +1 -1
- package/dist/config/user-sync-config.js +8 -0
- package/dist/drift/detector.d.ts +2 -2
- package/dist/drift/detector.d.ts.map +1 -1
- package/dist/drift/detector.js +18 -0
- package/dist/drift/strays.d.ts.map +1 -1
- package/dist/drift/strays.js +5 -0
- package/dist/engine/collection-sync.d.ts +14 -0
- package/dist/engine/collection-sync.d.ts.map +1 -0
- package/dist/engine/collection-sync.js +282 -0
- package/dist/engine/compute-plan.d.ts +8 -1
- package/dist/engine/compute-plan.d.ts.map +1 -1
- package/dist/engine/compute-plan.js +303 -12
- package/dist/engine/engine.types.d.ts +61 -0
- package/dist/engine/engine.types.d.ts.map +1 -1
- package/dist/engine/execute-plan.d.ts +22 -2
- package/dist/engine/execute-plan.d.ts.map +1 -1
- package/dist/engine/execute-plan.js +459 -27
- package/dist/engine/provider-path-safety.d.ts +1 -0
- package/dist/engine/provider-path-safety.d.ts.map +1 -1
- package/dist/engine/provider-path-safety.js +15 -0
- package/dist/engine/scanner.d.ts +2 -2
- package/dist/engine/scanner.d.ts.map +1 -1
- package/dist/engine/scanner.js +21 -4
- package/dist/fs/io.d.ts +67 -0
- package/dist/fs/io.d.ts.map +1 -1
- package/dist/fs/io.js +536 -3
- package/dist/manifest/index.d.ts +2 -2
- package/dist/manifest/index.d.ts.map +1 -1
- package/dist/manifest/index.js +1 -1
- package/dist/manifest/manager.d.ts +2 -2
- package/dist/manifest/manager.d.ts.map +1 -1
- package/dist/manifest/manager.js +20 -3
- package/dist/manifest/manifest.types.d.ts +704 -13
- package/dist/manifest/manifest.types.d.ts.map +1 -1
- package/dist/manifest/manifest.types.js +131 -15
- package/dist/providers/codex/codec/sync-extension.d.ts.map +1 -1
- package/dist/providers/codex/codec/sync-extension.js +41 -10
- package/dist/providers/cursor/codec/sync-extension.d.ts.map +1 -1
- package/dist/providers/cursor/codec/sync-extension.js +41 -10
- package/dist/providers/identity/absolute-paths.d.ts +68 -0
- package/dist/providers/identity/absolute-paths.d.ts.map +1 -0
- package/dist/providers/identity/absolute-paths.js +144 -0
- package/dist/providers/identity/claude-runtime-observation.d.ts +105 -0
- package/dist/providers/identity/claude-runtime-observation.d.ts.map +1 -0
- package/dist/providers/identity/claude-runtime-observation.fixtures.d.ts +40 -0
- package/dist/providers/identity/claude-runtime-observation.fixtures.d.ts.map +1 -0
- package/dist/providers/identity/claude-runtime-observation.fixtures.js +146 -0
- package/dist/providers/identity/claude-runtime-observation.js +229 -0
- package/dist/providers/identity/codex-runtime-observation.d.ts +75 -0
- package/dist/providers/identity/codex-runtime-observation.d.ts.map +1 -0
- package/dist/providers/identity/codex-runtime-observation.fixtures.d.ts +37 -0
- package/dist/providers/identity/codex-runtime-observation.fixtures.d.ts.map +1 -0
- package/dist/providers/identity/codex-runtime-observation.fixtures.js +539 -0
- package/dist/providers/identity/codex-runtime-observation.js +255 -0
- package/dist/providers/identity/generic-dispatch-record.d.ts +313 -0
- package/dist/providers/identity/generic-dispatch-record.d.ts.map +1 -0
- package/dist/providers/identity/generic-dispatch-record.js +539 -0
- package/dist/providers/identity/oat-dispatch-record.d.ts +1964 -0
- package/dist/providers/identity/oat-dispatch-record.d.ts.map +1 -0
- package/dist/providers/identity/oat-dispatch-record.js +691 -0
- package/dist/providers/identity/runtime-observation.d.ts +100 -0
- package/dist/providers/identity/runtime-observation.d.ts.map +1 -0
- package/dist/providers/identity/runtime-observation.js +169 -0
- package/dist/providers/shared/index.d.ts +2 -0
- package/dist/providers/shared/index.d.ts.map +1 -1
- package/dist/providers/shared/index.js +1 -0
- package/dist/providers/shared/materialization-extension.d.ts +12 -0
- package/dist/providers/shared/materialization-extension.d.ts.map +1 -1
- package/dist/providers/shared/registry.d.ts +69 -0
- package/dist/providers/shared/registry.d.ts.map +1 -0
- package/dist/providers/shared/registry.js +252 -0
- package/dist/providers/shared/restart-adviser.d.ts +26 -0
- package/dist/providers/shared/restart-adviser.d.ts.map +1 -0
- package/dist/providers/shared/restart-adviser.js +96 -0
- package/dist/shared/types.d.ts +4 -0
- package/dist/shared/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,51 +1,168 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ManifestEntryV1Schema: z.ZodEffects<z.ZodObject<{
|
|
3
3
|
canonicalPath: z.ZodEffects<z.ZodString, string, string>;
|
|
4
4
|
providerPath: z.ZodEffects<z.ZodString, string, string>;
|
|
5
5
|
provider: z.ZodString;
|
|
6
6
|
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
7
|
-
strategy: z.ZodEnum<["symlink", "copy"]>;
|
|
8
7
|
contentHash: z.ZodNullable<z.ZodString>;
|
|
9
8
|
isFile: z.ZodDefault<z.ZodBoolean>;
|
|
10
9
|
lastSynced: z.ZodString;
|
|
10
|
+
} & {
|
|
11
|
+
strategy: z.ZodEnum<["symlink", "copy"]>;
|
|
11
12
|
}, "strip", z.ZodTypeAny, {
|
|
12
13
|
canonicalPath: string;
|
|
13
14
|
providerPath: string;
|
|
14
15
|
provider: string;
|
|
15
16
|
contentType: "agent" | "rule" | "skill";
|
|
17
|
+
contentHash: string | null;
|
|
18
|
+
isFile: boolean;
|
|
19
|
+
lastSynced: string;
|
|
20
|
+
strategy: "copy" | "symlink";
|
|
21
|
+
}, {
|
|
22
|
+
canonicalPath: string;
|
|
23
|
+
providerPath: string;
|
|
24
|
+
provider: string;
|
|
25
|
+
contentType: "agent" | "rule" | "skill";
|
|
26
|
+
contentHash: string | null;
|
|
27
|
+
isFile?: boolean | undefined;
|
|
28
|
+
lastSynced: string;
|
|
16
29
|
strategy: "copy" | "symlink";
|
|
30
|
+
}>, {
|
|
31
|
+
canonicalPath: string;
|
|
32
|
+
providerPath: string;
|
|
33
|
+
provider: string;
|
|
34
|
+
contentType: "agent" | "rule" | "skill";
|
|
17
35
|
contentHash: string | null;
|
|
18
36
|
isFile: boolean;
|
|
19
37
|
lastSynced: string;
|
|
38
|
+
strategy: "copy" | "symlink";
|
|
20
39
|
}, {
|
|
21
40
|
canonicalPath: string;
|
|
22
41
|
providerPath: string;
|
|
23
42
|
provider: string;
|
|
24
43
|
contentType: "agent" | "rule" | "skill";
|
|
44
|
+
contentHash: string | null;
|
|
45
|
+
isFile?: boolean | undefined;
|
|
46
|
+
lastSynced: string;
|
|
25
47
|
strategy: "copy" | "symlink";
|
|
48
|
+
}>;
|
|
49
|
+
export declare const ManifestEntrySchema: z.ZodEffects<z.ZodObject<{
|
|
50
|
+
canonicalPath: z.ZodEffects<z.ZodString, string, string>;
|
|
51
|
+
providerPath: z.ZodEffects<z.ZodString, string, string>;
|
|
52
|
+
provider: z.ZodString;
|
|
53
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
54
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
55
|
+
isFile: z.ZodDefault<z.ZodBoolean>;
|
|
56
|
+
lastSynced: z.ZodString;
|
|
57
|
+
} & {
|
|
58
|
+
strategy: z.ZodEnum<["symlink", "copy", "collection"]>;
|
|
59
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
canonicalPath: string;
|
|
62
|
+
providerPath: string;
|
|
63
|
+
provider: string;
|
|
64
|
+
contentType: "agent" | "rule" | "skill";
|
|
65
|
+
contentHash: string | null;
|
|
66
|
+
isFile: boolean;
|
|
67
|
+
lastSynced: string;
|
|
68
|
+
strategy: "collection" | "copy" | "symlink";
|
|
69
|
+
collectionId?: string | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
canonicalPath: string;
|
|
72
|
+
providerPath: string;
|
|
73
|
+
provider: string;
|
|
74
|
+
contentType: "agent" | "rule" | "skill";
|
|
26
75
|
contentHash: string | null;
|
|
27
76
|
isFile?: boolean | undefined;
|
|
28
77
|
lastSynced: string;
|
|
78
|
+
strategy: "collection" | "copy" | "symlink";
|
|
79
|
+
collectionId?: string | undefined;
|
|
29
80
|
}>, {
|
|
30
81
|
canonicalPath: string;
|
|
31
82
|
providerPath: string;
|
|
32
83
|
provider: string;
|
|
33
84
|
contentType: "agent" | "rule" | "skill";
|
|
34
|
-
strategy: "copy" | "symlink";
|
|
35
85
|
contentHash: string | null;
|
|
36
86
|
isFile: boolean;
|
|
37
87
|
lastSynced: string;
|
|
88
|
+
strategy: "collection" | "copy" | "symlink";
|
|
89
|
+
collectionId?: string | undefined;
|
|
38
90
|
}, {
|
|
39
91
|
canonicalPath: string;
|
|
40
92
|
providerPath: string;
|
|
41
93
|
provider: string;
|
|
42
94
|
contentType: "agent" | "rule" | "skill";
|
|
43
|
-
strategy: "copy" | "symlink";
|
|
44
95
|
contentHash: string | null;
|
|
45
96
|
isFile?: boolean | undefined;
|
|
46
97
|
lastSynced: string;
|
|
98
|
+
strategy: "collection" | "copy" | "symlink";
|
|
99
|
+
collectionId?: string | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
declare const ManifestCollectionLinkIdentitySchema: z.ZodObject<{
|
|
102
|
+
device: z.ZodString;
|
|
103
|
+
inode: z.ZodString;
|
|
104
|
+
linkText: z.ZodString;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
device: string;
|
|
107
|
+
inode: string;
|
|
108
|
+
linkText: string;
|
|
109
|
+
}, {
|
|
110
|
+
device: string;
|
|
111
|
+
inode: string;
|
|
112
|
+
linkText: string;
|
|
47
113
|
}>;
|
|
48
|
-
export declare const
|
|
114
|
+
export declare const ManifestCollectionEntrySchema: z.ZodObject<{
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
provider: z.ZodString;
|
|
117
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
118
|
+
canonicalDir: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
119
|
+
providerDir: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
120
|
+
linkTarget: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
121
|
+
ownership: z.ZodEnum<["oat-created", "adopted-exact"]>;
|
|
122
|
+
createdLink: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
device: z.ZodString;
|
|
124
|
+
inode: z.ZodString;
|
|
125
|
+
linkText: z.ZodString;
|
|
126
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
device: string;
|
|
128
|
+
inode: string;
|
|
129
|
+
linkText: string;
|
|
130
|
+
}, {
|
|
131
|
+
device: string;
|
|
132
|
+
inode: string;
|
|
133
|
+
linkText: string;
|
|
134
|
+
}>>;
|
|
135
|
+
lastVerified: z.ZodString;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
id: string;
|
|
138
|
+
provider: string;
|
|
139
|
+
contentType: "agent" | "rule" | "skill";
|
|
140
|
+
canonicalDir: string;
|
|
141
|
+
providerDir: string;
|
|
142
|
+
linkTarget: string;
|
|
143
|
+
ownership: "adopted-exact" | "oat-created";
|
|
144
|
+
createdLink?: {
|
|
145
|
+
device: string;
|
|
146
|
+
inode: string;
|
|
147
|
+
linkText: string;
|
|
148
|
+
} | undefined;
|
|
149
|
+
lastVerified: string;
|
|
150
|
+
}, {
|
|
151
|
+
id: string;
|
|
152
|
+
provider: string;
|
|
153
|
+
contentType: "agent" | "rule" | "skill";
|
|
154
|
+
canonicalDir: string;
|
|
155
|
+
providerDir: string;
|
|
156
|
+
linkTarget: string;
|
|
157
|
+
ownership: "adopted-exact" | "oat-created";
|
|
158
|
+
createdLink?: {
|
|
159
|
+
device: string;
|
|
160
|
+
inode: string;
|
|
161
|
+
linkText: string;
|
|
162
|
+
} | undefined;
|
|
163
|
+
lastVerified: string;
|
|
164
|
+
}>;
|
|
165
|
+
export declare const ManifestV1Schema: z.ZodEffects<z.ZodObject<{
|
|
49
166
|
version: z.ZodLiteral<1>;
|
|
50
167
|
oatVersion: z.ZodString;
|
|
51
168
|
entries: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -53,46 +170,47 @@ export declare const ManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
53
170
|
providerPath: z.ZodEffects<z.ZodString, string, string>;
|
|
54
171
|
provider: z.ZodString;
|
|
55
172
|
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
56
|
-
strategy: z.ZodEnum<["symlink", "copy"]>;
|
|
57
173
|
contentHash: z.ZodNullable<z.ZodString>;
|
|
58
174
|
isFile: z.ZodDefault<z.ZodBoolean>;
|
|
59
175
|
lastSynced: z.ZodString;
|
|
176
|
+
} & {
|
|
177
|
+
strategy: z.ZodEnum<["symlink", "copy"]>;
|
|
60
178
|
}, "strip", z.ZodTypeAny, {
|
|
61
179
|
canonicalPath: string;
|
|
62
180
|
providerPath: string;
|
|
63
181
|
provider: string;
|
|
64
182
|
contentType: "agent" | "rule" | "skill";
|
|
65
|
-
strategy: "copy" | "symlink";
|
|
66
183
|
contentHash: string | null;
|
|
67
184
|
isFile: boolean;
|
|
68
185
|
lastSynced: string;
|
|
186
|
+
strategy: "copy" | "symlink";
|
|
69
187
|
}, {
|
|
70
188
|
canonicalPath: string;
|
|
71
189
|
providerPath: string;
|
|
72
190
|
provider: string;
|
|
73
191
|
contentType: "agent" | "rule" | "skill";
|
|
74
|
-
strategy: "copy" | "symlink";
|
|
75
192
|
contentHash: string | null;
|
|
76
193
|
isFile?: boolean | undefined;
|
|
77
194
|
lastSynced: string;
|
|
195
|
+
strategy: "copy" | "symlink";
|
|
78
196
|
}>, {
|
|
79
197
|
canonicalPath: string;
|
|
80
198
|
providerPath: string;
|
|
81
199
|
provider: string;
|
|
82
200
|
contentType: "agent" | "rule" | "skill";
|
|
83
|
-
strategy: "copy" | "symlink";
|
|
84
201
|
contentHash: string | null;
|
|
85
202
|
isFile: boolean;
|
|
86
203
|
lastSynced: string;
|
|
204
|
+
strategy: "copy" | "symlink";
|
|
87
205
|
}, {
|
|
88
206
|
canonicalPath: string;
|
|
89
207
|
providerPath: string;
|
|
90
208
|
provider: string;
|
|
91
209
|
contentType: "agent" | "rule" | "skill";
|
|
92
|
-
strategy: "copy" | "symlink";
|
|
93
210
|
contentHash: string | null;
|
|
94
211
|
isFile?: boolean | undefined;
|
|
95
212
|
lastSynced: string;
|
|
213
|
+
strategy: "copy" | "symlink";
|
|
96
214
|
}>, "many">;
|
|
97
215
|
lastUpdated: z.ZodString;
|
|
98
216
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -103,10 +221,38 @@ export declare const ManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
103
221
|
providerPath: string;
|
|
104
222
|
provider: string;
|
|
105
223
|
contentType: "agent" | "rule" | "skill";
|
|
224
|
+
contentHash: string | null;
|
|
225
|
+
isFile: boolean;
|
|
226
|
+
lastSynced: string;
|
|
227
|
+
strategy: "copy" | "symlink";
|
|
228
|
+
}[];
|
|
229
|
+
lastUpdated: string;
|
|
230
|
+
}, {
|
|
231
|
+
version: 1;
|
|
232
|
+
oatVersion: string;
|
|
233
|
+
entries: {
|
|
234
|
+
canonicalPath: string;
|
|
235
|
+
providerPath: string;
|
|
236
|
+
provider: string;
|
|
237
|
+
contentType: "agent" | "rule" | "skill";
|
|
238
|
+
contentHash: string | null;
|
|
239
|
+
isFile?: boolean | undefined;
|
|
240
|
+
lastSynced: string;
|
|
106
241
|
strategy: "copy" | "symlink";
|
|
242
|
+
}[];
|
|
243
|
+
lastUpdated: string;
|
|
244
|
+
}>, {
|
|
245
|
+
version: 1;
|
|
246
|
+
oatVersion: string;
|
|
247
|
+
entries: {
|
|
248
|
+
canonicalPath: string;
|
|
249
|
+
providerPath: string;
|
|
250
|
+
provider: string;
|
|
251
|
+
contentType: "agent" | "rule" | "skill";
|
|
107
252
|
contentHash: string | null;
|
|
108
253
|
isFile: boolean;
|
|
109
254
|
lastSynced: string;
|
|
255
|
+
strategy: "copy" | "symlink";
|
|
110
256
|
}[];
|
|
111
257
|
lastUpdated: string;
|
|
112
258
|
}, {
|
|
@@ -117,13 +263,293 @@ export declare const ManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
117
263
|
providerPath: string;
|
|
118
264
|
provider: string;
|
|
119
265
|
contentType: "agent" | "rule" | "skill";
|
|
266
|
+
contentHash: string | null;
|
|
267
|
+
isFile?: boolean | undefined;
|
|
268
|
+
lastSynced: string;
|
|
120
269
|
strategy: "copy" | "symlink";
|
|
270
|
+
}[];
|
|
271
|
+
lastUpdated: string;
|
|
272
|
+
}>;
|
|
273
|
+
export declare const ManifestV2Schema: z.ZodEffects<z.ZodObject<{
|
|
274
|
+
version: z.ZodLiteral<2>;
|
|
275
|
+
oatVersion: z.ZodString;
|
|
276
|
+
entries: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
277
|
+
canonicalPath: z.ZodEffects<z.ZodString, string, string>;
|
|
278
|
+
providerPath: z.ZodEffects<z.ZodString, string, string>;
|
|
279
|
+
provider: z.ZodString;
|
|
280
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
281
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
282
|
+
isFile: z.ZodDefault<z.ZodBoolean>;
|
|
283
|
+
lastSynced: z.ZodString;
|
|
284
|
+
} & {
|
|
285
|
+
strategy: z.ZodEnum<["symlink", "copy", "collection"]>;
|
|
286
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
canonicalPath: string;
|
|
289
|
+
providerPath: string;
|
|
290
|
+
provider: string;
|
|
291
|
+
contentType: "agent" | "rule" | "skill";
|
|
292
|
+
contentHash: string | null;
|
|
293
|
+
isFile: boolean;
|
|
294
|
+
lastSynced: string;
|
|
295
|
+
strategy: "collection" | "copy" | "symlink";
|
|
296
|
+
collectionId?: string | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
canonicalPath: string;
|
|
299
|
+
providerPath: string;
|
|
300
|
+
provider: string;
|
|
301
|
+
contentType: "agent" | "rule" | "skill";
|
|
121
302
|
contentHash: string | null;
|
|
122
303
|
isFile?: boolean | undefined;
|
|
123
304
|
lastSynced: string;
|
|
305
|
+
strategy: "collection" | "copy" | "symlink";
|
|
306
|
+
collectionId?: string | undefined;
|
|
307
|
+
}>, {
|
|
308
|
+
canonicalPath: string;
|
|
309
|
+
providerPath: string;
|
|
310
|
+
provider: string;
|
|
311
|
+
contentType: "agent" | "rule" | "skill";
|
|
312
|
+
contentHash: string | null;
|
|
313
|
+
isFile: boolean;
|
|
314
|
+
lastSynced: string;
|
|
315
|
+
strategy: "collection" | "copy" | "symlink";
|
|
316
|
+
collectionId?: string | undefined;
|
|
317
|
+
}, {
|
|
318
|
+
canonicalPath: string;
|
|
319
|
+
providerPath: string;
|
|
320
|
+
provider: string;
|
|
321
|
+
contentType: "agent" | "rule" | "skill";
|
|
322
|
+
contentHash: string | null;
|
|
323
|
+
isFile?: boolean | undefined;
|
|
324
|
+
lastSynced: string;
|
|
325
|
+
strategy: "collection" | "copy" | "symlink";
|
|
326
|
+
collectionId?: string | undefined;
|
|
327
|
+
}>, "many">;
|
|
328
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
329
|
+
id: z.ZodString;
|
|
330
|
+
provider: z.ZodString;
|
|
331
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
332
|
+
canonicalDir: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
333
|
+
providerDir: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
334
|
+
linkTarget: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
335
|
+
ownership: z.ZodEnum<["oat-created", "adopted-exact"]>;
|
|
336
|
+
createdLink: z.ZodOptional<z.ZodObject<{
|
|
337
|
+
device: z.ZodString;
|
|
338
|
+
inode: z.ZodString;
|
|
339
|
+
linkText: z.ZodString;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
device: string;
|
|
342
|
+
inode: string;
|
|
343
|
+
linkText: string;
|
|
344
|
+
}, {
|
|
345
|
+
device: string;
|
|
346
|
+
inode: string;
|
|
347
|
+
linkText: string;
|
|
348
|
+
}>>;
|
|
349
|
+
lastVerified: z.ZodString;
|
|
350
|
+
}, "strip", z.ZodTypeAny, {
|
|
351
|
+
id: string;
|
|
352
|
+
provider: string;
|
|
353
|
+
contentType: "agent" | "rule" | "skill";
|
|
354
|
+
canonicalDir: string;
|
|
355
|
+
providerDir: string;
|
|
356
|
+
linkTarget: string;
|
|
357
|
+
ownership: "adopted-exact" | "oat-created";
|
|
358
|
+
createdLink?: {
|
|
359
|
+
device: string;
|
|
360
|
+
inode: string;
|
|
361
|
+
linkText: string;
|
|
362
|
+
} | undefined;
|
|
363
|
+
lastVerified: string;
|
|
364
|
+
}, {
|
|
365
|
+
id: string;
|
|
366
|
+
provider: string;
|
|
367
|
+
contentType: "agent" | "rule" | "skill";
|
|
368
|
+
canonicalDir: string;
|
|
369
|
+
providerDir: string;
|
|
370
|
+
linkTarget: string;
|
|
371
|
+
ownership: "adopted-exact" | "oat-created";
|
|
372
|
+
createdLink?: {
|
|
373
|
+
device: string;
|
|
374
|
+
inode: string;
|
|
375
|
+
linkText: string;
|
|
376
|
+
} | undefined;
|
|
377
|
+
lastVerified: string;
|
|
378
|
+
}>, "many">;
|
|
379
|
+
lastUpdated: z.ZodString;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
version: 2;
|
|
382
|
+
oatVersion: string;
|
|
383
|
+
entries: {
|
|
384
|
+
canonicalPath: string;
|
|
385
|
+
providerPath: string;
|
|
386
|
+
provider: string;
|
|
387
|
+
contentType: "agent" | "rule" | "skill";
|
|
388
|
+
contentHash: string | null;
|
|
389
|
+
isFile: boolean;
|
|
390
|
+
lastSynced: string;
|
|
391
|
+
strategy: "collection" | "copy" | "symlink";
|
|
392
|
+
collectionId?: string | undefined;
|
|
393
|
+
}[];
|
|
394
|
+
collections: {
|
|
395
|
+
id: string;
|
|
396
|
+
provider: string;
|
|
397
|
+
contentType: "agent" | "rule" | "skill";
|
|
398
|
+
canonicalDir: string;
|
|
399
|
+
providerDir: string;
|
|
400
|
+
linkTarget: string;
|
|
401
|
+
ownership: "adopted-exact" | "oat-created";
|
|
402
|
+
createdLink?: {
|
|
403
|
+
device: string;
|
|
404
|
+
inode: string;
|
|
405
|
+
linkText: string;
|
|
406
|
+
} | undefined;
|
|
407
|
+
lastVerified: string;
|
|
408
|
+
}[];
|
|
409
|
+
lastUpdated: string;
|
|
410
|
+
}, {
|
|
411
|
+
version: 2;
|
|
412
|
+
oatVersion: string;
|
|
413
|
+
entries: {
|
|
414
|
+
canonicalPath: string;
|
|
415
|
+
providerPath: string;
|
|
416
|
+
provider: string;
|
|
417
|
+
contentType: "agent" | "rule" | "skill";
|
|
418
|
+
contentHash: string | null;
|
|
419
|
+
isFile?: boolean | undefined;
|
|
420
|
+
lastSynced: string;
|
|
421
|
+
strategy: "collection" | "copy" | "symlink";
|
|
422
|
+
collectionId?: string | undefined;
|
|
423
|
+
}[];
|
|
424
|
+
collections: {
|
|
425
|
+
id: string;
|
|
426
|
+
provider: string;
|
|
427
|
+
contentType: "agent" | "rule" | "skill";
|
|
428
|
+
canonicalDir: string;
|
|
429
|
+
providerDir: string;
|
|
430
|
+
linkTarget: string;
|
|
431
|
+
ownership: "adopted-exact" | "oat-created";
|
|
432
|
+
createdLink?: {
|
|
433
|
+
device: string;
|
|
434
|
+
inode: string;
|
|
435
|
+
linkText: string;
|
|
436
|
+
} | undefined;
|
|
437
|
+
lastVerified: string;
|
|
124
438
|
}[];
|
|
125
439
|
lastUpdated: string;
|
|
126
440
|
}>, {
|
|
441
|
+
version: 2;
|
|
442
|
+
oatVersion: string;
|
|
443
|
+
entries: {
|
|
444
|
+
canonicalPath: string;
|
|
445
|
+
providerPath: string;
|
|
446
|
+
provider: string;
|
|
447
|
+
contentType: "agent" | "rule" | "skill";
|
|
448
|
+
contentHash: string | null;
|
|
449
|
+
isFile: boolean;
|
|
450
|
+
lastSynced: string;
|
|
451
|
+
strategy: "collection" | "copy" | "symlink";
|
|
452
|
+
collectionId?: string | undefined;
|
|
453
|
+
}[];
|
|
454
|
+
collections: {
|
|
455
|
+
id: string;
|
|
456
|
+
provider: string;
|
|
457
|
+
contentType: "agent" | "rule" | "skill";
|
|
458
|
+
canonicalDir: string;
|
|
459
|
+
providerDir: string;
|
|
460
|
+
linkTarget: string;
|
|
461
|
+
ownership: "adopted-exact" | "oat-created";
|
|
462
|
+
createdLink?: {
|
|
463
|
+
device: string;
|
|
464
|
+
inode: string;
|
|
465
|
+
linkText: string;
|
|
466
|
+
} | undefined;
|
|
467
|
+
lastVerified: string;
|
|
468
|
+
}[];
|
|
469
|
+
lastUpdated: string;
|
|
470
|
+
}, {
|
|
471
|
+
version: 2;
|
|
472
|
+
oatVersion: string;
|
|
473
|
+
entries: {
|
|
474
|
+
canonicalPath: string;
|
|
475
|
+
providerPath: string;
|
|
476
|
+
provider: string;
|
|
477
|
+
contentType: "agent" | "rule" | "skill";
|
|
478
|
+
contentHash: string | null;
|
|
479
|
+
isFile?: boolean | undefined;
|
|
480
|
+
lastSynced: string;
|
|
481
|
+
strategy: "collection" | "copy" | "symlink";
|
|
482
|
+
collectionId?: string | undefined;
|
|
483
|
+
}[];
|
|
484
|
+
collections: {
|
|
485
|
+
id: string;
|
|
486
|
+
provider: string;
|
|
487
|
+
contentType: "agent" | "rule" | "skill";
|
|
488
|
+
canonicalDir: string;
|
|
489
|
+
providerDir: string;
|
|
490
|
+
linkTarget: string;
|
|
491
|
+
ownership: "adopted-exact" | "oat-created";
|
|
492
|
+
createdLink?: {
|
|
493
|
+
device: string;
|
|
494
|
+
inode: string;
|
|
495
|
+
linkText: string;
|
|
496
|
+
} | undefined;
|
|
497
|
+
lastVerified: string;
|
|
498
|
+
}[];
|
|
499
|
+
lastUpdated: string;
|
|
500
|
+
}>;
|
|
501
|
+
export declare const ManifestSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
502
|
+
version: z.ZodLiteral<1>;
|
|
503
|
+
oatVersion: z.ZodString;
|
|
504
|
+
entries: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
505
|
+
canonicalPath: z.ZodEffects<z.ZodString, string, string>;
|
|
506
|
+
providerPath: z.ZodEffects<z.ZodString, string, string>;
|
|
507
|
+
provider: z.ZodString;
|
|
508
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
509
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
510
|
+
isFile: z.ZodDefault<z.ZodBoolean>;
|
|
511
|
+
lastSynced: z.ZodString;
|
|
512
|
+
} & {
|
|
513
|
+
strategy: z.ZodEnum<["symlink", "copy"]>;
|
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
|
515
|
+
canonicalPath: string;
|
|
516
|
+
providerPath: string;
|
|
517
|
+
provider: string;
|
|
518
|
+
contentType: "agent" | "rule" | "skill";
|
|
519
|
+
contentHash: string | null;
|
|
520
|
+
isFile: boolean;
|
|
521
|
+
lastSynced: string;
|
|
522
|
+
strategy: "copy" | "symlink";
|
|
523
|
+
}, {
|
|
524
|
+
canonicalPath: string;
|
|
525
|
+
providerPath: string;
|
|
526
|
+
provider: string;
|
|
527
|
+
contentType: "agent" | "rule" | "skill";
|
|
528
|
+
contentHash: string | null;
|
|
529
|
+
isFile?: boolean | undefined;
|
|
530
|
+
lastSynced: string;
|
|
531
|
+
strategy: "copy" | "symlink";
|
|
532
|
+
}>, {
|
|
533
|
+
canonicalPath: string;
|
|
534
|
+
providerPath: string;
|
|
535
|
+
provider: string;
|
|
536
|
+
contentType: "agent" | "rule" | "skill";
|
|
537
|
+
contentHash: string | null;
|
|
538
|
+
isFile: boolean;
|
|
539
|
+
lastSynced: string;
|
|
540
|
+
strategy: "copy" | "symlink";
|
|
541
|
+
}, {
|
|
542
|
+
canonicalPath: string;
|
|
543
|
+
providerPath: string;
|
|
544
|
+
provider: string;
|
|
545
|
+
contentType: "agent" | "rule" | "skill";
|
|
546
|
+
contentHash: string | null;
|
|
547
|
+
isFile?: boolean | undefined;
|
|
548
|
+
lastSynced: string;
|
|
549
|
+
strategy: "copy" | "symlink";
|
|
550
|
+
}>, "many">;
|
|
551
|
+
lastUpdated: z.ZodString;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
127
553
|
version: 1;
|
|
128
554
|
oatVersion: string;
|
|
129
555
|
entries: {
|
|
@@ -131,10 +557,38 @@ export declare const ManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
131
557
|
providerPath: string;
|
|
132
558
|
provider: string;
|
|
133
559
|
contentType: "agent" | "rule" | "skill";
|
|
560
|
+
contentHash: string | null;
|
|
561
|
+
isFile: boolean;
|
|
562
|
+
lastSynced: string;
|
|
563
|
+
strategy: "copy" | "symlink";
|
|
564
|
+
}[];
|
|
565
|
+
lastUpdated: string;
|
|
566
|
+
}, {
|
|
567
|
+
version: 1;
|
|
568
|
+
oatVersion: string;
|
|
569
|
+
entries: {
|
|
570
|
+
canonicalPath: string;
|
|
571
|
+
providerPath: string;
|
|
572
|
+
provider: string;
|
|
573
|
+
contentType: "agent" | "rule" | "skill";
|
|
574
|
+
contentHash: string | null;
|
|
575
|
+
isFile?: boolean | undefined;
|
|
576
|
+
lastSynced: string;
|
|
134
577
|
strategy: "copy" | "symlink";
|
|
578
|
+
}[];
|
|
579
|
+
lastUpdated: string;
|
|
580
|
+
}>, {
|
|
581
|
+
version: 1;
|
|
582
|
+
oatVersion: string;
|
|
583
|
+
entries: {
|
|
584
|
+
canonicalPath: string;
|
|
585
|
+
providerPath: string;
|
|
586
|
+
provider: string;
|
|
587
|
+
contentType: "agent" | "rule" | "skill";
|
|
135
588
|
contentHash: string | null;
|
|
136
589
|
isFile: boolean;
|
|
137
590
|
lastSynced: string;
|
|
591
|
+
strategy: "copy" | "symlink";
|
|
138
592
|
}[];
|
|
139
593
|
lastUpdated: string;
|
|
140
594
|
}, {
|
|
@@ -145,13 +599,250 @@ export declare const ManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
145
599
|
providerPath: string;
|
|
146
600
|
provider: string;
|
|
147
601
|
contentType: "agent" | "rule" | "skill";
|
|
602
|
+
contentHash: string | null;
|
|
603
|
+
isFile?: boolean | undefined;
|
|
604
|
+
lastSynced: string;
|
|
148
605
|
strategy: "copy" | "symlink";
|
|
606
|
+
}[];
|
|
607
|
+
lastUpdated: string;
|
|
608
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
609
|
+
version: z.ZodLiteral<2>;
|
|
610
|
+
oatVersion: z.ZodString;
|
|
611
|
+
entries: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
612
|
+
canonicalPath: z.ZodEffects<z.ZodString, string, string>;
|
|
613
|
+
providerPath: z.ZodEffects<z.ZodString, string, string>;
|
|
614
|
+
provider: z.ZodString;
|
|
615
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
616
|
+
contentHash: z.ZodNullable<z.ZodString>;
|
|
617
|
+
isFile: z.ZodDefault<z.ZodBoolean>;
|
|
618
|
+
lastSynced: z.ZodString;
|
|
619
|
+
} & {
|
|
620
|
+
strategy: z.ZodEnum<["symlink", "copy", "collection"]>;
|
|
621
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
622
|
+
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
canonicalPath: string;
|
|
624
|
+
providerPath: string;
|
|
625
|
+
provider: string;
|
|
626
|
+
contentType: "agent" | "rule" | "skill";
|
|
627
|
+
contentHash: string | null;
|
|
628
|
+
isFile: boolean;
|
|
629
|
+
lastSynced: string;
|
|
630
|
+
strategy: "collection" | "copy" | "symlink";
|
|
631
|
+
collectionId?: string | undefined;
|
|
632
|
+
}, {
|
|
633
|
+
canonicalPath: string;
|
|
634
|
+
providerPath: string;
|
|
635
|
+
provider: string;
|
|
636
|
+
contentType: "agent" | "rule" | "skill";
|
|
149
637
|
contentHash: string | null;
|
|
150
638
|
isFile?: boolean | undefined;
|
|
151
639
|
lastSynced: string;
|
|
640
|
+
strategy: "collection" | "copy" | "symlink";
|
|
641
|
+
collectionId?: string | undefined;
|
|
642
|
+
}>, {
|
|
643
|
+
canonicalPath: string;
|
|
644
|
+
providerPath: string;
|
|
645
|
+
provider: string;
|
|
646
|
+
contentType: "agent" | "rule" | "skill";
|
|
647
|
+
contentHash: string | null;
|
|
648
|
+
isFile: boolean;
|
|
649
|
+
lastSynced: string;
|
|
650
|
+
strategy: "collection" | "copy" | "symlink";
|
|
651
|
+
collectionId?: string | undefined;
|
|
652
|
+
}, {
|
|
653
|
+
canonicalPath: string;
|
|
654
|
+
providerPath: string;
|
|
655
|
+
provider: string;
|
|
656
|
+
contentType: "agent" | "rule" | "skill";
|
|
657
|
+
contentHash: string | null;
|
|
658
|
+
isFile?: boolean | undefined;
|
|
659
|
+
lastSynced: string;
|
|
660
|
+
strategy: "collection" | "copy" | "symlink";
|
|
661
|
+
collectionId?: string | undefined;
|
|
662
|
+
}>, "many">;
|
|
663
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
664
|
+
id: z.ZodString;
|
|
665
|
+
provider: z.ZodString;
|
|
666
|
+
contentType: z.ZodEnum<["skill", "agent", "rule"]>;
|
|
667
|
+
canonicalDir: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
668
|
+
providerDir: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
669
|
+
linkTarget: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
670
|
+
ownership: z.ZodEnum<["oat-created", "adopted-exact"]>;
|
|
671
|
+
createdLink: z.ZodOptional<z.ZodObject<{
|
|
672
|
+
device: z.ZodString;
|
|
673
|
+
inode: z.ZodString;
|
|
674
|
+
linkText: z.ZodString;
|
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
|
676
|
+
device: string;
|
|
677
|
+
inode: string;
|
|
678
|
+
linkText: string;
|
|
679
|
+
}, {
|
|
680
|
+
device: string;
|
|
681
|
+
inode: string;
|
|
682
|
+
linkText: string;
|
|
683
|
+
}>>;
|
|
684
|
+
lastVerified: z.ZodString;
|
|
685
|
+
}, "strip", z.ZodTypeAny, {
|
|
686
|
+
id: string;
|
|
687
|
+
provider: string;
|
|
688
|
+
contentType: "agent" | "rule" | "skill";
|
|
689
|
+
canonicalDir: string;
|
|
690
|
+
providerDir: string;
|
|
691
|
+
linkTarget: string;
|
|
692
|
+
ownership: "adopted-exact" | "oat-created";
|
|
693
|
+
createdLink?: {
|
|
694
|
+
device: string;
|
|
695
|
+
inode: string;
|
|
696
|
+
linkText: string;
|
|
697
|
+
} | undefined;
|
|
698
|
+
lastVerified: string;
|
|
699
|
+
}, {
|
|
700
|
+
id: string;
|
|
701
|
+
provider: string;
|
|
702
|
+
contentType: "agent" | "rule" | "skill";
|
|
703
|
+
canonicalDir: string;
|
|
704
|
+
providerDir: string;
|
|
705
|
+
linkTarget: string;
|
|
706
|
+
ownership: "adopted-exact" | "oat-created";
|
|
707
|
+
createdLink?: {
|
|
708
|
+
device: string;
|
|
709
|
+
inode: string;
|
|
710
|
+
linkText: string;
|
|
711
|
+
} | undefined;
|
|
712
|
+
lastVerified: string;
|
|
713
|
+
}>, "many">;
|
|
714
|
+
lastUpdated: z.ZodString;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
version: 2;
|
|
717
|
+
oatVersion: string;
|
|
718
|
+
entries: {
|
|
719
|
+
canonicalPath: string;
|
|
720
|
+
providerPath: string;
|
|
721
|
+
provider: string;
|
|
722
|
+
contentType: "agent" | "rule" | "skill";
|
|
723
|
+
contentHash: string | null;
|
|
724
|
+
isFile: boolean;
|
|
725
|
+
lastSynced: string;
|
|
726
|
+
strategy: "collection" | "copy" | "symlink";
|
|
727
|
+
collectionId?: string | undefined;
|
|
728
|
+
}[];
|
|
729
|
+
collections: {
|
|
730
|
+
id: string;
|
|
731
|
+
provider: string;
|
|
732
|
+
contentType: "agent" | "rule" | "skill";
|
|
733
|
+
canonicalDir: string;
|
|
734
|
+
providerDir: string;
|
|
735
|
+
linkTarget: string;
|
|
736
|
+
ownership: "adopted-exact" | "oat-created";
|
|
737
|
+
createdLink?: {
|
|
738
|
+
device: string;
|
|
739
|
+
inode: string;
|
|
740
|
+
linkText: string;
|
|
741
|
+
} | undefined;
|
|
742
|
+
lastVerified: string;
|
|
152
743
|
}[];
|
|
153
744
|
lastUpdated: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
745
|
+
}, {
|
|
746
|
+
version: 2;
|
|
747
|
+
oatVersion: string;
|
|
748
|
+
entries: {
|
|
749
|
+
canonicalPath: string;
|
|
750
|
+
providerPath: string;
|
|
751
|
+
provider: string;
|
|
752
|
+
contentType: "agent" | "rule" | "skill";
|
|
753
|
+
contentHash: string | null;
|
|
754
|
+
isFile?: boolean | undefined;
|
|
755
|
+
lastSynced: string;
|
|
756
|
+
strategy: "collection" | "copy" | "symlink";
|
|
757
|
+
collectionId?: string | undefined;
|
|
758
|
+
}[];
|
|
759
|
+
collections: {
|
|
760
|
+
id: string;
|
|
761
|
+
provider: string;
|
|
762
|
+
contentType: "agent" | "rule" | "skill";
|
|
763
|
+
canonicalDir: string;
|
|
764
|
+
providerDir: string;
|
|
765
|
+
linkTarget: string;
|
|
766
|
+
ownership: "adopted-exact" | "oat-created";
|
|
767
|
+
createdLink?: {
|
|
768
|
+
device: string;
|
|
769
|
+
inode: string;
|
|
770
|
+
linkText: string;
|
|
771
|
+
} | undefined;
|
|
772
|
+
lastVerified: string;
|
|
773
|
+
}[];
|
|
774
|
+
lastUpdated: string;
|
|
775
|
+
}>, {
|
|
776
|
+
version: 2;
|
|
777
|
+
oatVersion: string;
|
|
778
|
+
entries: {
|
|
779
|
+
canonicalPath: string;
|
|
780
|
+
providerPath: string;
|
|
781
|
+
provider: string;
|
|
782
|
+
contentType: "agent" | "rule" | "skill";
|
|
783
|
+
contentHash: string | null;
|
|
784
|
+
isFile: boolean;
|
|
785
|
+
lastSynced: string;
|
|
786
|
+
strategy: "collection" | "copy" | "symlink";
|
|
787
|
+
collectionId?: string | undefined;
|
|
788
|
+
}[];
|
|
789
|
+
collections: {
|
|
790
|
+
id: string;
|
|
791
|
+
provider: string;
|
|
792
|
+
contentType: "agent" | "rule" | "skill";
|
|
793
|
+
canonicalDir: string;
|
|
794
|
+
providerDir: string;
|
|
795
|
+
linkTarget: string;
|
|
796
|
+
ownership: "adopted-exact" | "oat-created";
|
|
797
|
+
createdLink?: {
|
|
798
|
+
device: string;
|
|
799
|
+
inode: string;
|
|
800
|
+
linkText: string;
|
|
801
|
+
} | undefined;
|
|
802
|
+
lastVerified: string;
|
|
803
|
+
}[];
|
|
804
|
+
lastUpdated: string;
|
|
805
|
+
}, {
|
|
806
|
+
version: 2;
|
|
807
|
+
oatVersion: string;
|
|
808
|
+
entries: {
|
|
809
|
+
canonicalPath: string;
|
|
810
|
+
providerPath: string;
|
|
811
|
+
provider: string;
|
|
812
|
+
contentType: "agent" | "rule" | "skill";
|
|
813
|
+
contentHash: string | null;
|
|
814
|
+
isFile?: boolean | undefined;
|
|
815
|
+
lastSynced: string;
|
|
816
|
+
strategy: "collection" | "copy" | "symlink";
|
|
817
|
+
collectionId?: string | undefined;
|
|
818
|
+
}[];
|
|
819
|
+
collections: {
|
|
820
|
+
id: string;
|
|
821
|
+
provider: string;
|
|
822
|
+
contentType: "agent" | "rule" | "skill";
|
|
823
|
+
canonicalDir: string;
|
|
824
|
+
providerDir: string;
|
|
825
|
+
linkTarget: string;
|
|
826
|
+
ownership: "adopted-exact" | "oat-created";
|
|
827
|
+
createdLink?: {
|
|
828
|
+
device: string;
|
|
829
|
+
inode: string;
|
|
830
|
+
linkText: string;
|
|
831
|
+
} | undefined;
|
|
832
|
+
lastVerified: string;
|
|
833
|
+
}[];
|
|
834
|
+
lastUpdated: string;
|
|
835
|
+
}>]>;
|
|
836
|
+
export type ManifestEntryV1 = z.infer<typeof ManifestEntryV1Schema>;
|
|
837
|
+
export type ManifestEntryV2 = z.infer<typeof ManifestEntrySchema>;
|
|
838
|
+
/** Per-entry compatibility view used until collection plans are projected. */
|
|
839
|
+
export type ManifestEntry = ManifestEntryV1;
|
|
840
|
+
export type ManifestCollectionEntry = z.infer<typeof ManifestCollectionEntrySchema>;
|
|
841
|
+
export type ManifestCollectionLinkIdentity = z.infer<typeof ManifestCollectionLinkIdentitySchema>;
|
|
842
|
+
export type ManifestV1 = z.infer<typeof ManifestV1Schema>;
|
|
843
|
+
export type ManifestV2 = z.infer<typeof ManifestV2Schema>;
|
|
844
|
+
export type Manifest = Omit<ManifestV2, 'entries'> & {
|
|
845
|
+
entries: ManifestEntry[];
|
|
846
|
+
};
|
|
847
|
+
export {};
|
|
157
848
|
//# sourceMappingURL=manifest.types.d.ts.map
|