skydive-cli 0.6.0-beta.39 → 0.6.0-beta.41

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as SandboxStream } from "./client-l6orYfqq.mjs";
2
+ import { t as SandboxStream } from "./client-Dr81zuTm.mjs";
3
3
 
4
4
  //#region src/chat/sandbox/raw-pty.ts
5
5
  /**
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import "./client-Dr81zuTm.mjs";
3
+ import { t as runRawPtyPassthrough } from "./raw-pty-C323I8xG.mjs";
4
+
5
+ export { runRawPtyPassthrough };
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as sendErrorMessage, n as errorDetail, r as filenameFromContentDisposition, t as createRestClient } from "./rest-HMJ6HYnl.mjs";
2
+ import { i as sendErrorMessage, n as errorDetail, r as filenameFromContentDisposition, t as createRestClient } from "./rest-CXCsoY4Q.mjs";
3
3
  import { t as HttpError } from "./http-error-BF2NZZE3.mjs";
4
4
  import "./billing-blocked-D3l5kJlX.mjs";
5
5
 
@@ -6,7 +6,7 @@ import { createParser } from "eventsource-parser";
6
6
 
7
7
  //#region package.json
8
8
  var name = "skydive-cli";
9
- var version = "0.6.0-beta.39";
9
+ var version = "0.6.0-beta.41";
10
10
 
11
11
  //#endregion
12
12
  //#region src/chat/util.ts
@@ -270,8 +270,11 @@ function createRestClient({ appUrl, sessionToken, workspaceId }) {
270
270
  return conversation;
271
271
  },
272
272
  listModels: async () => {
273
- const { models } = await get("/api/v1/models", listModelsResponseSchema);
274
- return models;
273
+ const { models, trainingOptedOut } = await get("/api/v1/models", listModelsResponseSchema);
274
+ return {
275
+ models,
276
+ trainingOptedOut: trainingOptedOut ?? false
277
+ };
275
278
  },
276
279
  listModelEfforts: async () => {
277
280
  const { modelConfigOverrides } = await get("/api/v1/models/preferred", modelEffortPreferencesResponseSchema);
@@ -436,6 +439,9 @@ function createRestClient({ appUrl, sessionToken, workspaceId }) {
436
439
  setConversationArchived: async ({ conversationId, archived }) => {
437
440
  await post(`/api/v1/conversations/${encodeURIComponent(conversationId)}/archive`, { archived }, z.object({ archived: z.boolean() }));
438
441
  },
442
+ setConversationPinned: async ({ conversationId, pinned }) => {
443
+ await post(`/api/v1/conversations/${encodeURIComponent(conversationId)}/pin`, { pinned }, z.object({ pinned: z.boolean() }));
444
+ },
439
445
  markConversationRead: async ({ conversationId }) => {
440
446
  await post(`/api/v1/conversations/${encodeURIComponent(conversationId)}/read`, {}, z.object({ read: z.boolean() }));
441
447
  },
@@ -555,10 +561,14 @@ const platformModelSchema = z.object({
555
561
  providerDisplay: z.string().optional(),
556
562
  reasoning: z.boolean().optional(),
557
563
  compliant: z.boolean().optional(),
564
+ noTraining: z.boolean().optional(),
558
565
  thinkingLevels: z.array(z.string()).optional(),
559
566
  thinkingLevelLabels: z.record(z.string(), z.string()).optional()
560
567
  }).passthrough();
561
- const listModelsResponseSchema = z.object({ models: z.array(platformModelSchema) });
568
+ const listModelsResponseSchema = z.object({
569
+ models: z.array(platformModelSchema),
570
+ trainingOptedOut: z.boolean().optional()
571
+ });
562
572
  const modelEffortPreferencesResponseSchema = z.object({ modelConfigOverrides: z.record(z.string(), z.object({ thinkingLevel: z.string().optional() })).optional() });
563
573
  const billingSummaryResponseSchema = z.object({ result: z.object({ data: z.object({
564
574
  planKey: z.string().nullable(),
@@ -607,6 +617,7 @@ const conversationSummarySchema = z.object({
607
617
  channel: z.string().nullable(),
608
618
  channelLabel: z.string().nullable(),
609
619
  viewerArchivedAt: z.string().nullable().optional(),
620
+ viewerPinnedAt: z.string().nullable().optional(),
610
621
  viewerParticipates: z.boolean().optional(),
611
622
  unread: z.boolean().optional(),
612
623
  agent: conversationAgentSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skydive-cli",
3
- "version": "0.6.0-beta.39",
3
+ "version": "0.6.0-beta.41",
4
4
  "description": "Skydive CLI — cloud agents from the command line",
5
5
  "homepage": "https://skydive.com",
6
6
  "license": "MIT",
@@ -71,9 +71,9 @@
71
71
  },
72
72
  "//optionalDependencies": "The per-platform binary packages (skydive-cli-<os>-<arch>) are INTENTIONALLY not committed here. They are published by release-skydive-cli-binaries.yml and injected — pinned to the exact version being published — into the published launcher's optionalDependencies at release time (scripts/prepare-platform-packages.mjs --pin-version, run in release-skydive-cli.yml). Committing them would make `yarn install` try to resolve versions that only exist post-publish, breaking local dev and CI. npm installs of a published skydive-cli still get them (os/cpu-gated); the launcher (src/launcher.ts) resolves and execs the matching one. Local dev never needs them: it runs the JS bundle or `build:binary` directly.",
73
73
  "optionalDependencies": {
74
- "skydive-cli-darwin-arm64": "0.6.0-beta.39",
75
- "skydive-cli-darwin-x64": "0.6.0-beta.39",
76
- "skydive-cli-linux-x64": "0.6.0-beta.39",
77
- "skydive-cli-linux-arm64": "0.6.0-beta.39"
74
+ "skydive-cli-darwin-arm64": "0.6.0-beta.41",
75
+ "skydive-cli-darwin-x64": "0.6.0-beta.41",
76
+ "skydive-cli-linux-x64": "0.6.0-beta.41",
77
+ "skydive-cli-linux-arm64": "0.6.0-beta.41"
78
78
  }
79
79
  }
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
- import { t as PortalClient } from "./client-C1r0rRmd.mjs";
3
- import "./api-BFQ4PQDA.mjs";
4
-
5
- export { PortalClient };
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env node
2
- import "./client-C1r0rRmd.mjs";
3
- import "./tls-cert-Rua2oV7n.mjs";
4
- import "./api-BFQ4PQDA.mjs";
5
- import "./daemon-CSAbOyRz.mjs";
6
- import { t as PortalDaemonClient } from "./daemon-client-D4WAalkV.mjs";
7
-
8
- export { PortalDaemonClient };
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
- import "./client-l6orYfqq.mjs";
3
- import { t as runRawPtyPassthrough } from "./raw-pty-dndn1Kxc.mjs";
4
-
5
- export { runRawPtyPassthrough };