@anchrd/colab-sdk 0.1.39 → 0.1.40

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.
@@ -950,6 +950,7 @@ export declare const Operator: z.ZodObject<{
950
950
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
951
951
  rev: z.ZodNumber;
952
952
  modelAllowed: z.ZodNullable<z.ZodBoolean>;
953
+ modelsAvailable: z.ZodNullable<z.ZodBoolean>;
953
954
  instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
954
955
  path: z.ZodString;
955
956
  markdown: z.ZodString;
@@ -1151,6 +1152,7 @@ export declare const OperatorList: z.ZodObject<{
1151
1152
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
1152
1153
  rev: z.ZodNumber;
1153
1154
  modelAllowed: z.ZodNullable<z.ZodBoolean>;
1155
+ modelsAvailable: z.ZodNullable<z.ZodBoolean>;
1154
1156
  instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1155
1157
  path: z.ZodString;
1156
1158
  markdown: z.ZodString;
@@ -595,6 +595,11 @@ export const Operator = z.object({
595
595
  // A personal Operator's model is one its person may take now (E143, #804); false when an admin no
596
596
  // longer allows it: it keeps running, its page says so. Null for the company's.
597
597
  modelAllowed: z.boolean().nullable(),
598
+ // E227 (#1060): whether its person may take any model the credentials for personal Operators
599
+ // offer. False when every model in their allowed list left the catalog (or none fits): only an
600
+ // admin changes that, under Organisation › Operatoren › Mitarbeiter (`operator_user_update`).
601
+ // Null for the company's, and where no credential offers a model at all (that has its own hint).
602
+ modelsAvailable: z.boolean().nullable(),
598
603
  // A personal Operator's INSTRUCTIONS as its run reads them, the part under no heading and its own
599
604
  // section `## Name`, with the document's path and version (E143, #804): only in the answer of
600
605
  // `operator_machine_get`, so an admin reads them without opening the person's own folder. Null
@@ -8,7 +8,7 @@ export const IdempotencyKey = z
8
8
  .string()
9
9
  .min(8)
10
10
  .max(200)
11
- .describe("A caller-chosen key that makes this call safe to retry: repeating the same key returns the first result instead of doing the work twice. Reuse the SAME key when retrying one attempt, and a new one for a genuinely new call.");
11
+ .describe("A caller-chosen key that makes this call safe to retry: repeating the same call with the same key returns the first result instead of doing the work twice. A key belongs to exactly one call: reuse it only to retry that call, and send a new one for every new call, also in a later run. A key already spent on another call (another tool, node or input) answers conflict.");
12
12
  // The revision a save is based on (E70): every save counts it up by one, and a save that names
13
13
  // another than the stored one is `conflict` and writes nothing. Not the version number of a
14
14
  // document and not `updatedAt`: a move or a grant touches the row too (trap P117).
@@ -73,7 +73,7 @@ export const SkillTestInput = z.strictObject({
73
73
  .min(1)
74
74
  .max(200)
75
75
  .optional()
76
- .describe("The name of one case to record anew: it runs once with real reading tools and the rights of the Operator in evals.yaml; if it passes, its data/ replaces the old recording. Writing still goes into the sandbox."),
76
+ .describe("The name of one case to run once, with the rights of the Operator in evals.yaml. Reading is real, writing still goes into the sandbox, and nothing is recorded."),
77
77
  });
78
78
  export const SkillRunListInput = z.strictObject({
79
79
  skillId: SkillId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchrd/colab-sdk",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Types, Zod schemas and the service client of Colab, the contract between its UI, backends and outside services.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",