@xenosystem/agent-sdk 0.9.10 → 0.9.11
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/agents/index.cjs +9 -9
- package/dist/agents/index.d.cts +12 -2
- package/dist/agents/index.d.ts +12 -2
- package/dist/agents/index.js +16 -16
- package/dist/agents/metafile-cjs.json +1 -1
- package/dist/agents/metafile-esm.json +1 -1
- package/dist/artifacts/browser.cjs +1 -1
- package/dist/artifacts/browser.d.cts +2 -2
- package/dist/artifacts/browser.d.ts +2 -2
- package/dist/artifacts/browser.js +1 -1
- package/dist/artifacts/{diff-artifact-C2tQZWcs.d.cts → diff-artifact-CmhmeSu5.d.cts} +87 -7
- package/dist/artifacts/{diff-artifact-C2tQZWcs.d.ts → diff-artifact-CmhmeSu5.d.ts} +87 -7
- package/dist/artifacts/index.cjs +8 -8
- package/dist/artifacts/index.d.cts +22 -5
- package/dist/artifacts/index.d.ts +22 -5
- package/dist/artifacts/index.js +8 -8
- package/dist/artifacts/metafile-cjs.json +1 -1
- package/dist/artifacts/metafile-esm.json +1 -1
- package/dist/automation/index.cjs +2 -2
- package/dist/automation/index.d.cts +97 -7
- package/dist/automation/index.d.ts +97 -7
- package/dist/automation/index.js +2 -2
- package/dist/automation/metafile-cjs.json +1 -1
- package/dist/automation/metafile-esm.json +1 -1
- package/dist/control-plane/index.cjs +7 -7
- package/dist/control-plane/index.d.cts +19 -2
- package/dist/control-plane/index.d.ts +19 -2
- package/dist/control-plane/index.js +7 -7
- package/dist/control-plane/metafile-cjs.json +1 -1
- package/dist/control-plane/metafile-esm.json +1 -1
- package/dist/electron/index.cjs +142 -142
- package/dist/electron/index.d.cts +24 -4
- package/dist/electron/index.d.ts +24 -4
- package/dist/electron/index.js +140 -140
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/hooks/index.d.cts +10 -1
- package/dist/hooks/index.d.ts +10 -1
- package/dist/hosted/index.cjs +1 -1
- package/dist/hosted/index.js +1 -1
- package/dist/hosted/metafile-cjs.json +1 -1
- package/dist/hosted/metafile-esm.json +1 -1
- package/dist/index.cjs +327 -327
- package/dist/index.d.cts +192 -24
- package/dist/index.d.ts +192 -24
- package/dist/index.js +328 -328
- package/dist/mcp/index.cjs +17 -17
- package/dist/mcp/index.js +17 -17
- package/dist/mcp/metafile-cjs.json +1 -1
- package/dist/mcp/metafile-esm.json +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/oracle/index.cjs +1 -1
- package/dist/oracle/index.d.cts +86 -6
- package/dist/oracle/index.d.ts +86 -6
- package/dist/oracle/index.js +1 -1
- package/dist/oracle/metafile-cjs.json +1 -1
- package/dist/oracle/metafile-esm.json +1 -1
- package/dist/providers/index.cjs +10 -10
- package/dist/providers/index.d.cts +1 -0
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.js +10 -10
- package/dist/providers/metafile-cjs.json +1 -1
- package/dist/providers/metafile-esm.json +1 -1
- package/dist/recipes/index.cjs +2 -2
- package/dist/recipes/index.d.cts +10 -1
- package/dist/recipes/index.d.ts +10 -1
- package/dist/recipes/index.js +2 -2
- package/dist/recipes/metafile-cjs.json +1 -1
- package/dist/recipes/metafile-esm.json +1 -1
- package/dist/research/index.cjs +3 -3
- package/dist/research/index.d.cts +86 -6
- package/dist/research/index.d.ts +86 -6
- package/dist/research/index.js +3 -3
- package/dist/research/metafile-cjs.json +1 -1
- package/dist/research/metafile-esm.json +1 -1
- package/dist/session/index.cjs +20 -20
- package/dist/session/index.js +21 -21
- package/dist/session/metafile-cjs.json +1 -1
- package/dist/session/metafile-esm.json +1 -1
- package/dist/utils/index.cjs +20 -20
- package/dist/utils/index.d.cts +3 -1
- package/dist/utils/index.d.ts +3 -1
- package/dist/utils/index.js +17 -17
- package/dist/utils/metafile-cjs.json +1 -1
- package/dist/utils/metafile-esm.json +1 -1
- package/package.json +23 -22
|
@@ -5,9 +5,45 @@ type XenoJsonValue = XenoJsonPrimitive | XenoJsonObject | XenoJsonValue[];
|
|
|
5
5
|
interface XenoJsonObject {
|
|
6
6
|
[key: string]: XenoJsonValue;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
declare const XENO_BUILTIN_ARTIFACT_KINDS: readonly [
|
|
9
|
+
"plan",
|
|
10
|
+
"requirements",
|
|
11
|
+
"design",
|
|
12
|
+
"task-graph",
|
|
13
|
+
"patch",
|
|
14
|
+
"diff",
|
|
15
|
+
"file",
|
|
16
|
+
"document",
|
|
17
|
+
"diagram",
|
|
18
|
+
"screenshot",
|
|
19
|
+
"recording",
|
|
20
|
+
"browser-snapshot",
|
|
21
|
+
"test-report",
|
|
22
|
+
"review-report",
|
|
23
|
+
"security-report",
|
|
24
|
+
"performance-report",
|
|
25
|
+
"release-report",
|
|
26
|
+
"sbom",
|
|
27
|
+
"provenance",
|
|
28
|
+
"attestation"
|
|
29
|
+
];
|
|
30
|
+
type XenoArtifactKind = (typeof XENO_BUILTIN_ARTIFACT_KINDS)[number] | `custom:${string}`;
|
|
31
|
+
declare const XENO_ARTIFACT_STATES: readonly [
|
|
32
|
+
"draft",
|
|
33
|
+
"pending_review",
|
|
34
|
+
"approved",
|
|
35
|
+
"rejected",
|
|
36
|
+
"superseded",
|
|
37
|
+
"archived"
|
|
38
|
+
];
|
|
39
|
+
type XenoArtifactState = (typeof XENO_ARTIFACT_STATES)[number];
|
|
40
|
+
declare const XENO_ARTIFACT_SENSITIVITIES: readonly [
|
|
41
|
+
"public",
|
|
42
|
+
"internal",
|
|
43
|
+
"confidential",
|
|
44
|
+
"restricted"
|
|
45
|
+
];
|
|
46
|
+
type XenoArtifactSensitivity = (typeof XENO_ARTIFACT_SENSITIVITIES)[number];
|
|
11
47
|
interface XenoContentHash {
|
|
12
48
|
algorithm: "sha256" | `custom:${string}`;
|
|
13
49
|
value: string;
|
|
@@ -52,7 +88,14 @@ interface XenoArtifactIdentity {
|
|
|
52
88
|
workspaceId?: string;
|
|
53
89
|
repositoryId?: string;
|
|
54
90
|
}
|
|
55
|
-
|
|
91
|
+
declare const XENO_ARTIFACT_ACTOR_KINDS: readonly [
|
|
92
|
+
"agent",
|
|
93
|
+
"tool",
|
|
94
|
+
"user",
|
|
95
|
+
"system",
|
|
96
|
+
"integration"
|
|
97
|
+
];
|
|
98
|
+
type XenoArtifactActorKind = (typeof XENO_ARTIFACT_ACTOR_KINDS)[number];
|
|
56
99
|
interface XenoArtifactActor {
|
|
57
100
|
kind: XenoArtifactActorKind;
|
|
58
101
|
id: string;
|
|
@@ -69,8 +112,45 @@ interface XenoArtifactProvenance {
|
|
|
69
112
|
sourceArtifactIds?: string[];
|
|
70
113
|
attributes?: XenoJsonObject;
|
|
71
114
|
}
|
|
72
|
-
|
|
73
|
-
|
|
115
|
+
declare const XENO_EVIDENCE_NODE_TYPES: readonly [
|
|
116
|
+
"requirement",
|
|
117
|
+
"design-decision",
|
|
118
|
+
"risk",
|
|
119
|
+
"task",
|
|
120
|
+
"agent",
|
|
121
|
+
"run",
|
|
122
|
+
"tool-call",
|
|
123
|
+
"edit",
|
|
124
|
+
"commit",
|
|
125
|
+
"test-case",
|
|
126
|
+
"test-run",
|
|
127
|
+
"finding",
|
|
128
|
+
"approval",
|
|
129
|
+
"artifact",
|
|
130
|
+
"release",
|
|
131
|
+
"claim"
|
|
132
|
+
];
|
|
133
|
+
type XenoEvidenceNodeType = (typeof XENO_EVIDENCE_NODE_TYPES)[number] | `custom:${string}`;
|
|
134
|
+
declare const XENO_EVIDENCE_EDGE_TYPES: readonly [
|
|
135
|
+
"decomposes",
|
|
136
|
+
"depends_on",
|
|
137
|
+
"implements",
|
|
138
|
+
"changes",
|
|
139
|
+
"tests",
|
|
140
|
+
"verifies",
|
|
141
|
+
"finds",
|
|
142
|
+
"fixes",
|
|
143
|
+
"reviews",
|
|
144
|
+
"approves",
|
|
145
|
+
"rejects",
|
|
146
|
+
"supersedes",
|
|
147
|
+
"derived_from",
|
|
148
|
+
"produced_by",
|
|
149
|
+
"supports_claim",
|
|
150
|
+
"contradicts_claim",
|
|
151
|
+
"released_as"
|
|
152
|
+
];
|
|
153
|
+
type XenoEvidenceEdgeType = (typeof XENO_EVIDENCE_EDGE_TYPES)[number] | `custom:${string}`;
|
|
74
154
|
interface XenoEvidenceReference {
|
|
75
155
|
type: XenoEvidenceNodeType;
|
|
76
156
|
id: string;
|
|
@@ -351,4 +431,4 @@ declare class XenoDiffParseError extends Error {
|
|
|
351
431
|
declare function parseUnifiedDiff(diff: string, options?: ParseUnifiedDiffOptions): XenoDiffDocument;
|
|
352
432
|
declare function unifiedDiffToXenoArtifact(diff: string, context: XenoDiffArtifactContext): XenoArtifactEnvelope;
|
|
353
433
|
declare function xenoArtifactToDiffDocument(artifact: XenoArtifactEnvelope): XenoDiffDocument;
|
|
354
|
-
export { type
|
|
434
|
+
export { type XenoArtifactState as A, type XenoArtifactStorageReference as B, type XenoContentHash as C, type XenoDiffFile as D, type XenoDiffFileStatus as E, type XenoDiffHunk as F, type XenoDiffLine as G, type XenoDiffLineKind as H, type XenoDiffMode as I, type XenoEvidenceEdge as J, type XenoEvidenceEdgeType as K, type XenoEvidenceGraph as L, type XenoEvidenceNode as M, type XenoEvidenceNodeType as N, type XenoEvidenceReference as O, type XenoJsonObject as P, type XenoJsonPrimitive as Q, type XenoJsonValue as R, type ParseUnifiedDiffOptions as S, type XenoDiffArtifactContext as T, XenoDiffParseError as U, parseUnifiedDiff as V, unifiedDiffToXenoArtifact as W, type XenoArtifactEnvelope as X, xenoArtifactToDiffDocument as Y, type XenoDiffDocument as a, XENO_ARTIFACT_ACTOR_KINDS as b, XENO_ARTIFACT_SCHEMA_VERSION as c, XENO_ARTIFACT_SENSITIVITIES as d, XENO_ARTIFACT_STATES as e, XENO_BUILTIN_ARTIFACT_KINDS as f, XENO_EVIDENCE_EDGE_TYPES as g, XENO_EVIDENCE_GRAPH_SCHEMA_VERSION as h, XENO_EVIDENCE_NODE_TYPES as i, type XenoArtifactActor as j, type XenoArtifactActorKind as k, type XenoArtifactAnchor as l, type XenoArtifactContent as m, type XenoArtifactIdentity as n, type XenoArtifactKind as o, type XenoArtifactLifecycleEvent as p, type XenoArtifactListQuery as q, type XenoArtifactProvenance as r, type XenoArtifactRecord as s, type XenoArtifactRelationship as t, type XenoArtifactRetention as u, type XenoArtifactReviewDecision as v, type XenoArtifactReviewEvent as w, type XenoArtifactReviewEventInput as x, type XenoArtifactReviewSummary as y, type XenoArtifactSensitivity as z };
|
|
@@ -5,9 +5,45 @@ type XenoJsonValue = XenoJsonPrimitive | XenoJsonObject | XenoJsonValue[];
|
|
|
5
5
|
interface XenoJsonObject {
|
|
6
6
|
[key: string]: XenoJsonValue;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
declare const XENO_BUILTIN_ARTIFACT_KINDS: readonly [
|
|
9
|
+
"plan",
|
|
10
|
+
"requirements",
|
|
11
|
+
"design",
|
|
12
|
+
"task-graph",
|
|
13
|
+
"patch",
|
|
14
|
+
"diff",
|
|
15
|
+
"file",
|
|
16
|
+
"document",
|
|
17
|
+
"diagram",
|
|
18
|
+
"screenshot",
|
|
19
|
+
"recording",
|
|
20
|
+
"browser-snapshot",
|
|
21
|
+
"test-report",
|
|
22
|
+
"review-report",
|
|
23
|
+
"security-report",
|
|
24
|
+
"performance-report",
|
|
25
|
+
"release-report",
|
|
26
|
+
"sbom",
|
|
27
|
+
"provenance",
|
|
28
|
+
"attestation"
|
|
29
|
+
];
|
|
30
|
+
type XenoArtifactKind = (typeof XENO_BUILTIN_ARTIFACT_KINDS)[number] | `custom:${string}`;
|
|
31
|
+
declare const XENO_ARTIFACT_STATES: readonly [
|
|
32
|
+
"draft",
|
|
33
|
+
"pending_review",
|
|
34
|
+
"approved",
|
|
35
|
+
"rejected",
|
|
36
|
+
"superseded",
|
|
37
|
+
"archived"
|
|
38
|
+
];
|
|
39
|
+
type XenoArtifactState = (typeof XENO_ARTIFACT_STATES)[number];
|
|
40
|
+
declare const XENO_ARTIFACT_SENSITIVITIES: readonly [
|
|
41
|
+
"public",
|
|
42
|
+
"internal",
|
|
43
|
+
"confidential",
|
|
44
|
+
"restricted"
|
|
45
|
+
];
|
|
46
|
+
type XenoArtifactSensitivity = (typeof XENO_ARTIFACT_SENSITIVITIES)[number];
|
|
11
47
|
interface XenoContentHash {
|
|
12
48
|
algorithm: "sha256" | `custom:${string}`;
|
|
13
49
|
value: string;
|
|
@@ -52,7 +88,14 @@ interface XenoArtifactIdentity {
|
|
|
52
88
|
workspaceId?: string;
|
|
53
89
|
repositoryId?: string;
|
|
54
90
|
}
|
|
55
|
-
|
|
91
|
+
declare const XENO_ARTIFACT_ACTOR_KINDS: readonly [
|
|
92
|
+
"agent",
|
|
93
|
+
"tool",
|
|
94
|
+
"user",
|
|
95
|
+
"system",
|
|
96
|
+
"integration"
|
|
97
|
+
];
|
|
98
|
+
type XenoArtifactActorKind = (typeof XENO_ARTIFACT_ACTOR_KINDS)[number];
|
|
56
99
|
interface XenoArtifactActor {
|
|
57
100
|
kind: XenoArtifactActorKind;
|
|
58
101
|
id: string;
|
|
@@ -69,8 +112,45 @@ interface XenoArtifactProvenance {
|
|
|
69
112
|
sourceArtifactIds?: string[];
|
|
70
113
|
attributes?: XenoJsonObject;
|
|
71
114
|
}
|
|
72
|
-
|
|
73
|
-
|
|
115
|
+
declare const XENO_EVIDENCE_NODE_TYPES: readonly [
|
|
116
|
+
"requirement",
|
|
117
|
+
"design-decision",
|
|
118
|
+
"risk",
|
|
119
|
+
"task",
|
|
120
|
+
"agent",
|
|
121
|
+
"run",
|
|
122
|
+
"tool-call",
|
|
123
|
+
"edit",
|
|
124
|
+
"commit",
|
|
125
|
+
"test-case",
|
|
126
|
+
"test-run",
|
|
127
|
+
"finding",
|
|
128
|
+
"approval",
|
|
129
|
+
"artifact",
|
|
130
|
+
"release",
|
|
131
|
+
"claim"
|
|
132
|
+
];
|
|
133
|
+
type XenoEvidenceNodeType = (typeof XENO_EVIDENCE_NODE_TYPES)[number] | `custom:${string}`;
|
|
134
|
+
declare const XENO_EVIDENCE_EDGE_TYPES: readonly [
|
|
135
|
+
"decomposes",
|
|
136
|
+
"depends_on",
|
|
137
|
+
"implements",
|
|
138
|
+
"changes",
|
|
139
|
+
"tests",
|
|
140
|
+
"verifies",
|
|
141
|
+
"finds",
|
|
142
|
+
"fixes",
|
|
143
|
+
"reviews",
|
|
144
|
+
"approves",
|
|
145
|
+
"rejects",
|
|
146
|
+
"supersedes",
|
|
147
|
+
"derived_from",
|
|
148
|
+
"produced_by",
|
|
149
|
+
"supports_claim",
|
|
150
|
+
"contradicts_claim",
|
|
151
|
+
"released_as"
|
|
152
|
+
];
|
|
153
|
+
type XenoEvidenceEdgeType = (typeof XENO_EVIDENCE_EDGE_TYPES)[number] | `custom:${string}`;
|
|
74
154
|
interface XenoEvidenceReference {
|
|
75
155
|
type: XenoEvidenceNodeType;
|
|
76
156
|
id: string;
|
|
@@ -351,4 +431,4 @@ declare class XenoDiffParseError extends Error {
|
|
|
351
431
|
declare function parseUnifiedDiff(diff: string, options?: ParseUnifiedDiffOptions): XenoDiffDocument;
|
|
352
432
|
declare function unifiedDiffToXenoArtifact(diff: string, context: XenoDiffArtifactContext): XenoArtifactEnvelope;
|
|
353
433
|
declare function xenoArtifactToDiffDocument(artifact: XenoArtifactEnvelope): XenoDiffDocument;
|
|
354
|
-
export { type
|
|
434
|
+
export { type XenoArtifactState as A, type XenoArtifactStorageReference as B, type XenoContentHash as C, type XenoDiffFile as D, type XenoDiffFileStatus as E, type XenoDiffHunk as F, type XenoDiffLine as G, type XenoDiffLineKind as H, type XenoDiffMode as I, type XenoEvidenceEdge as J, type XenoEvidenceEdgeType as K, type XenoEvidenceGraph as L, type XenoEvidenceNode as M, type XenoEvidenceNodeType as N, type XenoEvidenceReference as O, type XenoJsonObject as P, type XenoJsonPrimitive as Q, type XenoJsonValue as R, type ParseUnifiedDiffOptions as S, type XenoDiffArtifactContext as T, XenoDiffParseError as U, parseUnifiedDiff as V, unifiedDiffToXenoArtifact as W, type XenoArtifactEnvelope as X, xenoArtifactToDiffDocument as Y, type XenoDiffDocument as a, XENO_ARTIFACT_ACTOR_KINDS as b, XENO_ARTIFACT_SCHEMA_VERSION as c, XENO_ARTIFACT_SENSITIVITIES as d, XENO_ARTIFACT_STATES as e, XENO_BUILTIN_ARTIFACT_KINDS as f, XENO_EVIDENCE_EDGE_TYPES as g, XENO_EVIDENCE_GRAPH_SCHEMA_VERSION as h, XENO_EVIDENCE_NODE_TYPES as i, type XenoArtifactActor as j, type XenoArtifactActorKind as k, type XenoArtifactAnchor as l, type XenoArtifactContent as m, type XenoArtifactIdentity as n, type XenoArtifactKind as o, type XenoArtifactLifecycleEvent as p, type XenoArtifactListQuery as q, type XenoArtifactProvenance as r, type XenoArtifactRecord as s, type XenoArtifactRelationship as t, type XenoArtifactRetention as u, type XenoArtifactReviewDecision as v, type XenoArtifactReviewEvent as w, type XenoArtifactReviewEventInput as x, type XenoArtifactReviewSummary as y, type XenoArtifactSensitivity as z };
|