@github/copilot 0.0.347-4 → 0.0.347-5
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/index.js +92 -92
- package/package.json +2 -2
- package/sdk/index.d.ts +10 -0
- package/sdk/index.js +29 -29
- package/sdk/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@github/copilot",
|
|
3
3
|
"description": "GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.",
|
|
4
|
-
"version": "0.0.347-
|
|
4
|
+
"version": "0.0.347-5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"sdk/**/*"
|
|
35
35
|
],
|
|
36
36
|
"buildMetadata": {
|
|
37
|
-
"gitCommit": "
|
|
37
|
+
"gitCommit": "563c3ea"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"node-pty": "npm:@devm33/node-pty@^1.0.8",
|
package/sdk/index.d.ts
CHANGED
|
@@ -260,16 +260,19 @@ declare const AssistantUsageEventSchema: z.ZodObject<{
|
|
|
260
260
|
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
261
261
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
262
262
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
initiator: z.ZodOptional<z.ZodString>;
|
|
263
264
|
}, "strip", z.ZodTypeAny, {
|
|
264
265
|
model?: string | undefined;
|
|
265
266
|
duration?: number | undefined;
|
|
266
267
|
tokensUsed?: number | undefined;
|
|
267
268
|
cost?: number | undefined;
|
|
269
|
+
initiator?: string | undefined;
|
|
268
270
|
}, {
|
|
269
271
|
model?: string | undefined;
|
|
270
272
|
duration?: number | undefined;
|
|
271
273
|
tokensUsed?: number | undefined;
|
|
272
274
|
cost?: number | undefined;
|
|
275
|
+
initiator?: string | undefined;
|
|
273
276
|
}>;
|
|
274
277
|
}, "strip", z.ZodTypeAny, {
|
|
275
278
|
id: string;
|
|
@@ -278,6 +281,7 @@ declare const AssistantUsageEventSchema: z.ZodObject<{
|
|
|
278
281
|
duration?: number | undefined;
|
|
279
282
|
tokensUsed?: number | undefined;
|
|
280
283
|
cost?: number | undefined;
|
|
284
|
+
initiator?: string | undefined;
|
|
281
285
|
};
|
|
282
286
|
type: "assistant.usage";
|
|
283
287
|
ephemeral: true;
|
|
@@ -290,6 +294,7 @@ declare const AssistantUsageEventSchema: z.ZodObject<{
|
|
|
290
294
|
duration?: number | undefined;
|
|
291
295
|
tokensUsed?: number | undefined;
|
|
292
296
|
cost?: number | undefined;
|
|
297
|
+
initiator?: string | undefined;
|
|
293
298
|
};
|
|
294
299
|
type: "assistant.usage";
|
|
295
300
|
ephemeral: true;
|
|
@@ -3180,16 +3185,19 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
3180
3185
|
tokensUsed: z.ZodOptional<z.ZodNumber>;
|
|
3181
3186
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
3182
3187
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
3188
|
+
initiator: z.ZodOptional<z.ZodString>;
|
|
3183
3189
|
}, "strip", z.ZodTypeAny, {
|
|
3184
3190
|
model?: string | undefined;
|
|
3185
3191
|
duration?: number | undefined;
|
|
3186
3192
|
tokensUsed?: number | undefined;
|
|
3187
3193
|
cost?: number | undefined;
|
|
3194
|
+
initiator?: string | undefined;
|
|
3188
3195
|
}, {
|
|
3189
3196
|
model?: string | undefined;
|
|
3190
3197
|
duration?: number | undefined;
|
|
3191
3198
|
tokensUsed?: number | undefined;
|
|
3192
3199
|
cost?: number | undefined;
|
|
3200
|
+
initiator?: string | undefined;
|
|
3193
3201
|
}>;
|
|
3194
3202
|
}, "strip", z.ZodTypeAny, {
|
|
3195
3203
|
id: string;
|
|
@@ -3198,6 +3206,7 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
3198
3206
|
duration?: number | undefined;
|
|
3199
3207
|
tokensUsed?: number | undefined;
|
|
3200
3208
|
cost?: number | undefined;
|
|
3209
|
+
initiator?: string | undefined;
|
|
3201
3210
|
};
|
|
3202
3211
|
type: "assistant.usage";
|
|
3203
3212
|
ephemeral: true;
|
|
@@ -3210,6 +3219,7 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
3210
3219
|
duration?: number | undefined;
|
|
3211
3220
|
tokensUsed?: number | undefined;
|
|
3212
3221
|
cost?: number | undefined;
|
|
3222
|
+
initiator?: string | undefined;
|
|
3213
3223
|
};
|
|
3214
3224
|
type: "assistant.usage";
|
|
3215
3225
|
ephemeral: true;
|