@playcraft/common 0.1.70 → 0.1.72

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.
Files changed (55) hide show
  1. package/dist/cloud-workspace/runtime/batch-runs.d.ts +126 -0
  2. package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -1
  3. package/dist/cloud-workspace/runtime/batch-runs.js +180 -58
  4. package/dist/cloud-workspace/runtime/batch-runs.js.map +1 -1
  5. package/dist/cloud-workspace/runtime/execution-admission.d.ts +20 -0
  6. package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +1 -1
  7. package/dist/cloud-workspace/runtime/execution-admission.js +111 -27
  8. package/dist/cloud-workspace/runtime/execution-admission.js.map +1 -1
  9. package/dist/cloud-workspace/runtime/execution-grant.d.ts +21 -1
  10. package/dist/cloud-workspace/runtime/execution-grant.d.ts.map +1 -1
  11. package/dist/cloud-workspace/runtime/execution-grant.js +13 -0
  12. package/dist/cloud-workspace/runtime/execution-grant.js.map +1 -1
  13. package/dist/cloud-workspace/runtime/files.d.ts +1 -0
  14. package/dist/cloud-workspace/runtime/files.d.ts.map +1 -1
  15. package/dist/cloud-workspace/runtime/files.js +58 -18
  16. package/dist/cloud-workspace/runtime/files.js.map +1 -1
  17. package/dist/cloud-workspace/runtime/index.d.ts +2 -1
  18. package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
  19. package/dist/cloud-workspace/runtime/index.js +2 -1
  20. package/dist/cloud-workspace/runtime/index.js.map +1 -1
  21. package/dist/cloud-workspace/runtime/operations.d.ts +29 -4
  22. package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
  23. package/dist/cloud-workspace/runtime/operations.js +5 -0
  24. package/dist/cloud-workspace/runtime/operations.js.map +1 -1
  25. package/dist/cloud-workspace/runtime/remix-references.d.ts +98 -12
  26. package/dist/cloud-workspace/runtime/remix-references.d.ts.map +1 -1
  27. package/dist/cloud-workspace/runtime/remix-references.js +194 -56
  28. package/dist/cloud-workspace/runtime/remix-references.js.map +1 -1
  29. package/dist/cloud-workspace/runtime/skill-activation.d.ts +126 -0
  30. package/dist/cloud-workspace/runtime/skill-activation.d.ts.map +1 -0
  31. package/dist/cloud-workspace/runtime/skill-activation.js +42 -0
  32. package/dist/cloud-workspace/runtime/skill-activation.js.map +1 -0
  33. package/dist/model-proxy/diagnostics.d.ts +8 -0
  34. package/dist/model-proxy/diagnostics.d.ts.map +1 -1
  35. package/dist/model-proxy/index.d.ts +2 -0
  36. package/dist/model-proxy/index.d.ts.map +1 -1
  37. package/dist/model-proxy/index.js +2 -0
  38. package/dist/model-proxy/index.js.map +1 -1
  39. package/dist/model-proxy/request-journey.d.ts +162 -0
  40. package/dist/model-proxy/request-journey.d.ts.map +1 -0
  41. package/dist/model-proxy/request-journey.js +75 -0
  42. package/dist/model-proxy/request-journey.js.map +1 -0
  43. package/dist/model-proxy/user-requests.d.ts +32 -0
  44. package/dist/model-proxy/user-requests.d.ts.map +1 -0
  45. package/dist/model-proxy/user-requests.js +2 -0
  46. package/dist/model-proxy/user-requests.js.map +1 -0
  47. package/dist/project-skills/index.d.ts +1 -0
  48. package/dist/project-skills/index.d.ts.map +1 -1
  49. package/dist/project-skills/index.js +1 -0
  50. package/dist/project-skills/index.js.map +1 -1
  51. package/dist/project-skills/remote-discovery.d.ts +101 -0
  52. package/dist/project-skills/remote-discovery.d.ts.map +1 -0
  53. package/dist/project-skills/remote-discovery.js +56 -0
  54. package/dist/project-skills/remote-discovery.js.map +1 -0
  55. package/package.json +1 -1
@@ -0,0 +1,162 @@
1
+ import { z } from 'zod';
2
+ export declare const modelBrokerObservationSchema: z.ZodObject<{
3
+ outcome: z.ZodEnum<{
4
+ error: "error";
5
+ completed: "completed";
6
+ interrupted: "interrupted";
7
+ }>;
8
+ receivedAt: z.ZodString;
9
+ dispatchedAt: z.ZodString;
10
+ responseHeadersAt: z.ZodOptional<z.ZodString>;
11
+ firstBodyByteAt: z.ZodOptional<z.ZodString>;
12
+ completedAt: z.ZodOptional<z.ZodString>;
13
+ credentialWaitMs: z.ZodOptional<z.ZodNumber>;
14
+ requestReadMs: z.ZodOptional<z.ZodNumber>;
15
+ beforeDispatchMs: z.ZodNumber;
16
+ proxyResponseHeadersMs: z.ZodOptional<z.ZodNumber>;
17
+ proxyFirstBodyByteMs: z.ZodOptional<z.ZodNumber>;
18
+ proxyResponseDurationMs: z.ZodOptional<z.ZodNumber>;
19
+ }, z.core.$strict>;
20
+ export declare const modelRuntimeObservationSchema: z.ZodObject<{
21
+ version: z.ZodLiteral<1>;
22
+ attemptId: z.ZodString;
23
+ runtimeOperationId: z.ZodString;
24
+ sessionId: z.ZodString;
25
+ clientRequestId: z.ZodString;
26
+ broker: z.ZodObject<{
27
+ receivedAt: z.ZodString;
28
+ dispatchedAt: z.ZodString;
29
+ responseHeadersAt: z.ZodOptional<z.ZodString>;
30
+ firstBodyByteAt: z.ZodOptional<z.ZodString>;
31
+ completedAt: z.ZodOptional<z.ZodString>;
32
+ credentialWaitMs: z.ZodOptional<z.ZodNumber>;
33
+ requestReadMs: z.ZodOptional<z.ZodNumber>;
34
+ beforeDispatchMs: z.ZodNumber;
35
+ proxyResponseHeadersMs: z.ZodOptional<z.ZodNumber>;
36
+ proxyFirstBodyByteMs: z.ZodOptional<z.ZodNumber>;
37
+ proxyResponseDurationMs: z.ZodOptional<z.ZodNumber>;
38
+ }, z.core.$strict>;
39
+ outcome: z.ZodEnum<{
40
+ error: "error";
41
+ completed: "completed";
42
+ interrupted: "interrupted";
43
+ }>;
44
+ }, z.core.$strict>;
45
+ export declare const modelRequestJourneySchema: z.ZodObject<{
46
+ version: z.ZodLiteral<1>;
47
+ runtimeOperationId: z.ZodString;
48
+ workspaceId: z.ZodString;
49
+ sessionId: z.ZodString;
50
+ clientRequestId: z.ZodString;
51
+ runtimeOperationCreatedAt: z.ZodOptional<z.ZodString>;
52
+ runtimeDispatchedAt: z.ZodOptional<z.ZodString>;
53
+ runtimeDispatchDurationMs: z.ZodOptional<z.ZodNumber>;
54
+ runtimeDispatchCompletedAt: z.ZodOptional<z.ZodString>;
55
+ codexDispatchedAt: z.ZodOptional<z.ZodString>;
56
+ brokerReceivedAt: z.ZodOptional<z.ZodString>;
57
+ brokerDispatchedAt: z.ZodOptional<z.ZodString>;
58
+ proxyReceivedAt: z.ZodString;
59
+ timings: z.ZodObject<{
60
+ credentialWaitMs: z.ZodOptional<z.ZodNumber>;
61
+ requestReadMs: z.ZodOptional<z.ZodNumber>;
62
+ beforeDispatchMs: z.ZodOptional<z.ZodNumber>;
63
+ codexDispatchToBrokerMs: z.ZodOptional<z.ZodNumber>;
64
+ }, z.core.$strict>;
65
+ brokerObservation: z.ZodOptional<z.ZodObject<{
66
+ outcome: z.ZodEnum<{
67
+ error: "error";
68
+ completed: "completed";
69
+ interrupted: "interrupted";
70
+ }>;
71
+ receivedAt: z.ZodString;
72
+ dispatchedAt: z.ZodString;
73
+ responseHeadersAt: z.ZodOptional<z.ZodString>;
74
+ firstBodyByteAt: z.ZodOptional<z.ZodString>;
75
+ completedAt: z.ZodOptional<z.ZodString>;
76
+ credentialWaitMs: z.ZodOptional<z.ZodNumber>;
77
+ requestReadMs: z.ZodOptional<z.ZodNumber>;
78
+ beforeDispatchMs: z.ZodNumber;
79
+ proxyResponseHeadersMs: z.ZodOptional<z.ZodNumber>;
80
+ proxyFirstBodyByteMs: z.ZodOptional<z.ZodNumber>;
81
+ proxyResponseDurationMs: z.ZodOptional<z.ZodNumber>;
82
+ }, z.core.$strict>>;
83
+ }, z.core.$strict>;
84
+ export declare const modelRuntimeDispatchObservationSchema: z.ZodObject<{
85
+ version: z.ZodLiteral<1>;
86
+ workspaceId: z.ZodString;
87
+ runtimeOperationId: z.ZodString;
88
+ userId: z.ZodString;
89
+ sessionId: z.ZodString;
90
+ clientRequestId: z.ZodString;
91
+ runtimeDispatchDurationMs: z.ZodNumber;
92
+ completedAt: z.ZodString;
93
+ }, z.core.$strict>;
94
+ export type ModelRuntimeDispatchObservationInput = z.infer<typeof modelRuntimeDispatchObservationSchema>;
95
+ export declare const modelBrokerForwardSchema: z.ZodObject<{
96
+ version: z.ZodLiteral<1>;
97
+ runtimeOperationId: z.ZodString;
98
+ sessionId: z.ZodString;
99
+ clientRequestId: z.ZodString;
100
+ codexDispatchedAt: z.ZodOptional<z.ZodString>;
101
+ brokerReceivedAt: z.ZodString;
102
+ brokerDispatchedAt: z.ZodString;
103
+ credentialWaitMs: z.ZodOptional<z.ZodNumber>;
104
+ requestReadMs: z.ZodOptional<z.ZodNumber>;
105
+ beforeDispatchMs: z.ZodNumber;
106
+ codexDispatchToBrokerMs: z.ZodOptional<z.ZodNumber>;
107
+ }, z.core.$strict>;
108
+ /** Measured in the sandbox broker's own clock; no prompt, response body or credential. */
109
+ export type ModelBrokerObservation = {
110
+ outcome: 'completed' | 'interrupted' | 'error';
111
+ receivedAt: string;
112
+ dispatchedAt: string;
113
+ responseHeadersAt?: string;
114
+ firstBodyByteAt?: string;
115
+ completedAt?: string;
116
+ credentialWaitMs?: number;
117
+ requestReadMs?: number;
118
+ beforeDispatchMs: number;
119
+ proxyResponseHeadersMs?: number;
120
+ proxyFirstBodyByteMs?: number;
121
+ proxyResponseDurationMs?: number;
122
+ };
123
+ /** Signed runtime origin plus broker observations. Wall-clock instants are not hop durations. */
124
+ export type ModelRequestJourney = {
125
+ version: 1;
126
+ runtimeOperationId: string;
127
+ workspaceId: string;
128
+ sessionId: string;
129
+ clientRequestId: string;
130
+ runtimeOperationCreatedAt?: string;
131
+ runtimeDispatchedAt?: string;
132
+ runtimeDispatchDurationMs?: number;
133
+ runtimeDispatchCompletedAt?: string;
134
+ codexDispatchedAt?: string;
135
+ brokerReceivedAt?: string;
136
+ brokerDispatchedAt?: string;
137
+ proxyReceivedAt: string;
138
+ timings: {
139
+ credentialWaitMs?: number;
140
+ requestReadMs?: number;
141
+ beforeDispatchMs?: number;
142
+ /** Elapsed from this turn's Codex dispatch to this model call; includes prior turn work. */
143
+ codexDispatchToBrokerMs?: number;
144
+ };
145
+ /** Returned after the broker finishes reading the proxy response; absent while awaiting feedback. */
146
+ brokerObservation?: ModelBrokerObservation;
147
+ };
148
+ export type ModelRuntimeObservationInput = {
149
+ version: 1;
150
+ attemptId: string;
151
+ runtimeOperationId: string;
152
+ sessionId: string;
153
+ clientRequestId: string;
154
+ broker: Omit<ModelBrokerObservation, 'outcome'>;
155
+ outcome: ModelBrokerObservation['outcome'];
156
+ };
157
+ export type ModelFailoverDecision = {
158
+ outcome: 'switched' | 'stopped';
159
+ reason: 'retryable_error' | 'no_candidates' | 'response_committed' | 'deadline_exhausted' | 'attempts_exhausted' | 'non_retryable_error' | 'cancelled' | 'request_succeeded' | 'caller_managed' | 'not_eligible';
160
+ nextConfigId?: string;
161
+ };
162
+ //# sourceMappingURL=request-journey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-journey.d.ts","sourceRoot":"","sources":["../../src/model-proxy/request-journey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;kBAAiD,CAAC;AAC3F,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;kBAQ/B,CAAC;AACZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqB3B,CAAC;AAEZ,eAAO,MAAM,qCAAqC;;;;;;;;;kBASvC,CAAC;AACZ,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEzG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;kBAY1B,CAAC;AAEZ,0FAA0F;AAC1F,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,WAAW,GAAG,aAAa,GAAG,OAAO,CAAC;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB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C3B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;IAChD,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,MAAM,EACF,iBAAiB,GACjB,eAAe,GACf,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,GACpB,qBAAqB,GACrB,WAAW,GACX,mBAAmB,GACnB,gBAAgB,GAChB,cAAc,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -0,0 +1,75 @@
1
+ import { z } from 'zod';
2
+ const identity = z.string().min(1).max(128).regex(/^[A-Za-z0-9][A-Za-z0-9:._-]*$/);
3
+ const instant = z.string().max(32).refine((value) => /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(value) &&
4
+ Number.isFinite(Date.parse(value)) && new Date(value).toISOString() === value);
5
+ const duration = z.number().finite().min(0).max(86_400_000);
6
+ const brokerShape = {
7
+ receivedAt: instant,
8
+ dispatchedAt: instant,
9
+ responseHeadersAt: instant.optional(),
10
+ firstBodyByteAt: instant.optional(),
11
+ completedAt: instant.optional(),
12
+ credentialWaitMs: duration.optional(),
13
+ requestReadMs: duration.optional(),
14
+ beforeDispatchMs: duration,
15
+ proxyResponseHeadersMs: duration.optional(),
16
+ proxyFirstBodyByteMs: duration.optional(),
17
+ proxyResponseDurationMs: duration.optional(),
18
+ };
19
+ const outcome = z.enum(['completed', 'interrupted', 'error']);
20
+ export const modelBrokerObservationSchema = z.object({ ...brokerShape, outcome }).strict();
21
+ export const modelRuntimeObservationSchema = z.object({
22
+ version: z.literal(1),
23
+ attemptId: z.string().uuid(),
24
+ runtimeOperationId: identity,
25
+ sessionId: identity,
26
+ clientRequestId: identity,
27
+ broker: z.object(brokerShape).strict(),
28
+ outcome,
29
+ }).strict();
30
+ export const modelRequestJourneySchema = z.object({
31
+ version: z.literal(1),
32
+ runtimeOperationId: identity,
33
+ workspaceId: identity,
34
+ sessionId: identity,
35
+ clientRequestId: identity,
36
+ runtimeOperationCreatedAt: instant.optional(),
37
+ runtimeDispatchedAt: instant.optional(),
38
+ runtimeDispatchDurationMs: duration.optional(),
39
+ runtimeDispatchCompletedAt: instant.optional(),
40
+ codexDispatchedAt: instant.optional(),
41
+ brokerReceivedAt: instant.optional(),
42
+ brokerDispatchedAt: instant.optional(),
43
+ proxyReceivedAt: instant,
44
+ timings: z.object({
45
+ credentialWaitMs: duration.optional(),
46
+ requestReadMs: duration.optional(),
47
+ beforeDispatchMs: duration.optional(),
48
+ codexDispatchToBrokerMs: duration.optional(),
49
+ }).strict(),
50
+ brokerObservation: modelBrokerObservationSchema.optional(),
51
+ }).strict();
52
+ export const modelRuntimeDispatchObservationSchema = z.object({
53
+ version: z.literal(1),
54
+ workspaceId: identity,
55
+ runtimeOperationId: identity,
56
+ userId: identity,
57
+ sessionId: identity,
58
+ clientRequestId: identity,
59
+ runtimeDispatchDurationMs: duration,
60
+ completedAt: instant,
61
+ }).strict();
62
+ export const modelBrokerForwardSchema = z.object({
63
+ version: z.literal(1),
64
+ runtimeOperationId: identity,
65
+ sessionId: identity,
66
+ clientRequestId: identity,
67
+ codexDispatchedAt: instant.optional(),
68
+ brokerReceivedAt: instant,
69
+ brokerDispatchedAt: instant,
70
+ credentialWaitMs: duration.optional(),
71
+ requestReadMs: duration.optional(),
72
+ beforeDispatchMs: duration,
73
+ codexDispatchToBrokerMs: duration.optional(),
74
+ }).strict();
75
+ //# sourceMappingURL=request-journey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-journey.js","sourceRoot":"","sources":["../../src/model-proxy/request-journey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAA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,QAAQ,EAAE;KAC7C,CAAC,CAAC,MAAM,EAAE;IACX,iBAAiB,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACrB,WAAW,EAAE,QAAQ;IACrB,kBAAkB,EAAE,QAAQ;IAC5B,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,QAAQ;IACnB,eAAe,EAAE,QAAQ;IACzB,yBAAyB,EAAE,QAAQ;IACnC,WAAW,EAAE,OAAO;CACrB,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACrB,kBAAkB,EAAE,QAAQ;IAC5B,SAAS,EAAE,QAAQ;IACnB,eAAe,EAAE,QAAQ;IACzB,iBAAiB,EAAE,OAAO,CAAC,QAAQ,EAAE;IACrC,gBAAgB,EAAE,OAAO;IACzB,kBAAkB,EAAE,OAAO;IAC3B,gBAAgB,EAAE,QAAQ,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,QAAQ,CAAC,QAAQ,EAAE;IAClC,gBAAgB,EAAE,QAAQ;IAC1B,uBAAuB,EAAE,QAAQ,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -0,0 +1,32 @@
1
+ /** Administrative request summaries aggregate the complete recorded attempt chain before paging. */
2
+ export type ModelProxyUserRequest = {
3
+ /** A recorded attempt used to open the existing scoped diagnostics endpoint. */
4
+ attemptId: string;
5
+ requestId: string;
6
+ requestedModel: string | null;
7
+ userId: string | null;
8
+ userName: string | null;
9
+ status: 'in_progress' | 'success' | 'error';
10
+ attemptCount: number;
11
+ failedAttemptCount: number;
12
+ /** Provider transitions in attempt order; consecutive repeated names are collapsed. */
13
+ providers: string[];
14
+ recovered: boolean;
15
+ /** First and last usage-record timestamps; these are not inferred transport timestamps. */
16
+ createdAt: string;
17
+ lastRecordedAt: string;
18
+ /** Null unless a logical request duration was measured explicitly. */
19
+ durationMs: number | null;
20
+ /** Without a valid logical request identity, a historical row remains an independent request. */
21
+ legacy: boolean;
22
+ };
23
+ export type ModelProxyUserRequests = {
24
+ capturedAt: string;
25
+ since: string;
26
+ until: string;
27
+ total: number;
28
+ limit: number;
29
+ offset: number;
30
+ requests: ModelProxyUserRequest[];
31
+ };
32
+ //# sourceMappingURL=user-requests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-requests.d.ts","sourceRoot":"","sources":["../../src/model-proxy/user-requests.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,MAAM,MAAM,qBAAqB,GAAG;IAClC,gFAAgF;IAChF,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uFAAuF;IACvF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,2FAA2F;IAC3F,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,iGAAiG;IACjG,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=user-requests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-requests.js","sourceRoot":"","sources":["../../src/model-proxy/user-requests.ts"],"names":[],"mappings":""}
@@ -4,4 +4,5 @@ export * from './inventory.js';
4
4
  export * from './evidence.js';
5
5
  export * from './bundle-archive.js';
6
6
  export * from './local-snapshot.js';
7
+ export * from './remote-discovery.js';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/project-skills/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/project-skills/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC"}
@@ -4,4 +4,5 @@ export * from './inventory.js';
4
4
  export * from './evidence.js';
5
5
  export * from './bundle-archive.js';
6
6
  export * from './local-snapshot.js';
7
+ export * from './remote-discovery.js';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/project-skills/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/project-skills/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,101 @@
1
+ import { z } from 'zod';
2
+ import type { ProjectSkillDeclaration, ProjectSkillsLock } from './types.js';
3
+ export declare const remoteSkillMatchRequestSchema: z.ZodObject<{
4
+ query: z.ZodDefault<z.ZodString>;
5
+ engine: z.ZodOptional<z.ZodEnum<{
6
+ phaser: "phaser";
7
+ threejs: "threejs";
8
+ }>>;
9
+ limit: z.ZodDefault<z.ZodNumber>;
10
+ }, z.core.$strict>;
11
+ export declare const remoteSkillReferenceSchema: z.ZodObject<{
12
+ skillRef: z.ZodString;
13
+ skillVersionId: z.ZodString;
14
+ version: z.ZodString;
15
+ artifactHash: z.ZodString;
16
+ }, z.core.$strict>;
17
+ export declare const remoteSkillCandidateSchema: z.ZodObject<{
18
+ skillRef: z.ZodString;
19
+ skillVersionId: z.ZodString;
20
+ version: z.ZodString;
21
+ artifactHash: z.ZodString;
22
+ name: z.ZodString;
23
+ description: z.ZodString;
24
+ kind: z.ZodString;
25
+ atomId: z.ZodOptional<z.ZodString>;
26
+ tags: z.ZodArray<z.ZodString>;
27
+ keywords: z.ZodArray<z.ZodString>;
28
+ capabilities: z.ZodArray<z.ZodString>;
29
+ engines: z.ZodArray<z.ZodString>;
30
+ score: z.ZodNumber;
31
+ matchedTerms: z.ZodArray<z.ZodString>;
32
+ }, z.core.$strict>;
33
+ export declare const remoteSkillMatchResultSchema: z.ZodObject<{
34
+ source: z.ZodLiteral<"remote-registry">;
35
+ query: z.ZodString;
36
+ engine: z.ZodNullable<z.ZodString>;
37
+ catalogHash: z.ZodString;
38
+ items: z.ZodArray<z.ZodObject<{
39
+ skillRef: z.ZodString;
40
+ skillVersionId: z.ZodString;
41
+ version: z.ZodString;
42
+ artifactHash: z.ZodString;
43
+ name: z.ZodString;
44
+ description: z.ZodString;
45
+ kind: z.ZodString;
46
+ atomId: z.ZodOptional<z.ZodString>;
47
+ tags: z.ZodArray<z.ZodString>;
48
+ keywords: z.ZodArray<z.ZodString>;
49
+ capabilities: z.ZodArray<z.ZodString>;
50
+ engines: z.ZodArray<z.ZodString>;
51
+ score: z.ZodNumber;
52
+ matchedTerms: z.ZodArray<z.ZodString>;
53
+ }, z.core.$strict>>;
54
+ total: z.ZodNumber;
55
+ }, z.core.$strict>;
56
+ export declare const remoteSkillSelectionRequestSchema: z.ZodObject<{
57
+ skills: z.ZodArray<z.ZodObject<{
58
+ skillRef: z.ZodString;
59
+ skillVersionId: z.ZodString;
60
+ version: z.ZodString;
61
+ artifactHash: z.ZodString;
62
+ }, z.core.$strict>>;
63
+ engine: z.ZodOptional<z.ZodEnum<{
64
+ phaser: "phaser";
65
+ threejs: "threejs";
66
+ }>>;
67
+ catalogHash: z.ZodOptional<z.ZodString>;
68
+ }, z.core.$strict>;
69
+ export type RemoteSkillMatchRequest = z.infer<typeof remoteSkillMatchRequestSchema>;
70
+ export type RemoteSkillCandidate = z.infer<typeof remoteSkillCandidateSchema>;
71
+ export type RemoteSkillMatchResult = z.infer<typeof remoteSkillMatchResultSchema>;
72
+ export type RemoteSkillReference = z.infer<typeof remoteSkillReferenceSchema>;
73
+ export type RemoteSkillSelectionRequest = z.infer<typeof remoteSkillSelectionRequestSchema>;
74
+ export type RemoteSkillSelectionResult = {
75
+ source: 'remote-registry';
76
+ selectionId: string;
77
+ lockHash: string;
78
+ catalogHash?: string;
79
+ declaration: ProjectSkillDeclaration;
80
+ lock: ProjectSkillsLock;
81
+ skills: RemoteSkillCandidate[];
82
+ };
83
+ /** A remote selection is a preparation receipt, not authority to replace a running task's lock. */
84
+ export declare function parseRemoteSkillSelectionResult(value: unknown): RemoteSkillSelectionResult;
85
+ export declare const remoteSkillArtifactRequestSchema: z.ZodObject<{
86
+ selectionId: z.ZodString;
87
+ entryKey: z.ZodString;
88
+ }, z.core.$strict>;
89
+ export type RemoteSkillArtifactRequest = z.infer<typeof remoteSkillArtifactRequestSchema>;
90
+ export declare const remoteSkillActivationRequestSchema: z.ZodObject<{
91
+ selectionId: z.ZodString;
92
+ }, z.core.$strict>;
93
+ export declare const remoteSkillVerificationRequestSchema: z.ZodObject<{
94
+ skills: z.ZodArray<z.ZodObject<{
95
+ skillRef: z.ZodString;
96
+ skillVersionId: z.ZodString;
97
+ version: z.ZodString;
98
+ artifactHash: z.ZodString;
99
+ }, z.core.$strict>>;
100
+ }, z.core.$strict>;
101
+ //# sourceMappingURL=remote-discovery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-discovery.d.ts","sourceRoot":"","sources":["../../src/project-skills/remote-discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAK7E,eAAO,MAAM,6BAA6B;;;;;;;kBAIxC,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;kBAIrC,CAAC;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;kBAMrC,CAAC;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;kBAGvC,CAAC;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;kBAI5C,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,iBAAiB,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACvF,WAAW,EAAE,uBAAuB,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAC;IAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC;CAC/F,CAAC;AAMF,mGAAmG;AACnG,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,OAAO,GAAG,0BAA0B,CAY1F;AACD,eAAO,MAAM,gCAAgC;;;kBAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,eAAO,MAAM,kCAAkC;;kBAA0C,CAAC;AAC1F,eAAO,MAAM,oCAAoC;;;;;;;kBAG/C,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { z } from 'zod';
2
+ import { projectSkillsDigest, validateProjectSkillsSnapshot } from './protocol.js';
3
+ const digest = z.string().regex(/^[a-f0-9]{64}$/);
4
+ const skillRef = z.string().regex(/^[a-z0-9][a-z0-9_-]*\/[a-z0-9][a-z0-9_-]*$/).max(257);
5
+ export const remoteSkillMatchRequestSchema = z.strictObject({
6
+ query: z.string().trim().max(2000).default(''),
7
+ engine: z.enum(['phaser', 'threejs']).optional(),
8
+ limit: z.number().int().min(1).max(100).default(20),
9
+ });
10
+ export const remoteSkillReferenceSchema = z.strictObject({
11
+ skillRef, skillVersionId: z.string().uuid(),
12
+ version: z.string().regex(/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/).max(32),
13
+ artifactHash: digest,
14
+ });
15
+ export const remoteSkillCandidateSchema = remoteSkillReferenceSchema.extend({
16
+ name: z.string().max(500), description: z.string().max(20000), kind: z.string().max(80),
17
+ atomId: z.string().max(257).optional(),
18
+ tags: z.array(z.string().max(500)).max(200), keywords: z.array(z.string().max(500)).max(200),
19
+ capabilities: z.array(z.string().max(500)).max(200), engines: z.array(z.string().max(80)).max(20),
20
+ score: z.number().finite().nonnegative(), matchedTerms: z.array(z.string().max(2000)).max(500),
21
+ });
22
+ export const remoteSkillMatchResultSchema = z.strictObject({
23
+ source: z.literal('remote-registry'), query: z.string(), engine: z.string().nullable(),
24
+ catalogHash: digest, items: z.array(remoteSkillCandidateSchema).max(100), total: z.number().int().nonnegative(),
25
+ });
26
+ export const remoteSkillSelectionRequestSchema = z.strictObject({
27
+ skills: z.array(remoteSkillReferenceSchema).min(1).max(50)
28
+ .refine(items => new Set(items.map(item => item.skillRef)).size === items.length),
29
+ engine: z.enum(['phaser', 'threejs']).optional(), catalogHash: digest.optional(),
30
+ });
31
+ const selectionResultSchema = z.strictObject({
32
+ source: z.literal('remote-registry'), selectionId: digest, lockHash: digest, catalogHash: digest.optional(),
33
+ declaration: z.unknown(), lock: z.unknown(), skills: z.array(remoteSkillCandidateSchema).max(512),
34
+ });
35
+ /** A remote selection is a preparation receipt, not authority to replace a running task's lock. */
36
+ export function parseRemoteSkillSelectionResult(value) {
37
+ const result = selectionResultSchema.parse(value);
38
+ const snapshot = validateProjectSkillsSnapshot(result.declaration, result.lock);
39
+ const lockHash = projectSkillsDigest(snapshot.lock);
40
+ if (result.selectionId !== lockHash || result.lockHash !== lockHash
41
+ || result.skills.length !== snapshot.lock.entries.length
42
+ || new Set(result.skills.map(skill => skill.skillRef)).size !== result.skills.length
43
+ || snapshot.lock.entries.some(entry => entry.revision.kind !== 'release' || !result.skills.some(skill => skill.skillRef === entry.revision.skillRef && skill.artifactHash === entry.revision.artifactHash
44
+ && entry.revision.kind === 'release' && skill.version === entry.revision.version)))
45
+ throw new Error('invalid_remote_skill_selection');
46
+ return { ...result, ...snapshot };
47
+ }
48
+ export const remoteSkillArtifactRequestSchema = z.strictObject({
49
+ selectionId: digest, entryKey: z.string().regex(/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/).max(160),
50
+ });
51
+ export const remoteSkillActivationRequestSchema = z.strictObject({ selectionId: digest });
52
+ export const remoteSkillVerificationRequestSchema = z.strictObject({
53
+ skills: z.array(remoteSkillReferenceSchema).min(1).max(512)
54
+ .refine(items => new Set(items.map(item => item.skillRef)).size === items.length),
55
+ });
56
+ //# sourceMappingURL=remote-discovery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote-discovery.js","sourceRoot":"","sources":["../../src/project-skills/remote-discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAEnF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAClD,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACzF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChD,KAAK,EAAE,CAAC,CA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