@lssm/lib.contracts 0.0.0-canary-20251221164004 → 0.0.0-canary-20251221185840

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,7 +1,7 @@
1
- import { __toCommonJS } from "../_virtual/rolldown_runtime.js";
2
- import { init_registry_utils, registry_utils_exports } from "../registry-utils.js";
1
+ import { filterBy, getUniqueTags, groupBy, init_registry_utils } from "../registry-utils.js";
3
2
 
4
3
  //#region src/workflow/spec.ts
4
+ init_registry_utils();
5
5
  function workflowKey(meta) {
6
6
  return `${meta.name}.v${meta.version}`;
7
7
  }
@@ -31,7 +31,6 @@ var WorkflowRegistry = class {
31
31
  }
32
32
  /** Filter workflows by criteria. */
33
33
  filter(criteria) {
34
- const { filterBy } = (init_registry_utils(), __toCommonJS(registry_utils_exports));
35
34
  return filterBy(this.list(), criteria);
36
35
  }
37
36
  /** List workflows with specific tag. */
@@ -44,12 +43,10 @@ var WorkflowRegistry = class {
44
43
  }
45
44
  /** Group workflows by key function. */
46
45
  groupBy(keyFn) {
47
- const { groupBy } = (init_registry_utils(), __toCommonJS(registry_utils_exports));
48
46
  return groupBy(this.list(), keyFn);
49
47
  }
50
48
  /** Get unique tags from all workflows. */
51
49
  getUniqueTags() {
52
- const { getUniqueTags } = (init_registry_utils(), __toCommonJS(registry_utils_exports));
53
50
  return getUniqueTags(this.list());
54
51
  }
55
52
  };
@@ -25,9 +25,9 @@ declare const OpenApiSourceConfigSchema: z$1.ZodObject<{
25
25
  deprecated: "deprecated";
26
26
  }>>;
27
27
  defaultAuth: z$1.ZodOptional<z$1.ZodEnum<{
28
- user: "user";
29
- anonymous: "anonymous";
30
28
  admin: "admin";
29
+ anonymous: "anonymous";
30
+ user: "user";
31
31
  }>>;
32
32
  defaultOwners: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
33
33
  }, z$1.core.$strip>;
@@ -69,9 +69,9 @@ declare const OpenApiConfigSchema: z$1.ZodObject<{
69
69
  deprecated: "deprecated";
70
70
  }>>;
71
71
  defaultAuth: z$1.ZodOptional<z$1.ZodEnum<{
72
- user: "user";
73
- anonymous: "anonymous";
74
72
  admin: "admin";
73
+ anonymous: "anonymous";
74
+ user: "user";
75
75
  }>>;
76
76
  defaultOwners: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
77
77
  }, z$1.core.$strip>>>;
@@ -180,9 +180,9 @@ declare const ContractsrcSchema: z$1.ZodObject<{
180
180
  }>>;
181
181
  aiModel: z$1.ZodOptional<z$1.ZodString>;
182
182
  agentMode: z$1.ZodDefault<z$1.ZodEnum<{
183
- cursor: "cursor";
184
183
  "claude-code": "claude-code";
185
184
  simple: "simple";
185
+ cursor: "cursor";
186
186
  "openai-codex": "openai-codex";
187
187
  }>>;
188
188
  customEndpoint: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
@@ -261,9 +261,9 @@ declare const ContractsrcSchema: z$1.ZodObject<{
261
261
  deprecated: "deprecated";
262
262
  }>>;
263
263
  defaultAuth: z$1.ZodOptional<z$1.ZodEnum<{
264
- user: "user";
265
- anonymous: "anonymous";
266
264
  admin: "admin";
265
+ anonymous: "anonymous";
266
+ user: "user";
267
267
  }>>;
268
268
  defaultOwners: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
269
269
  }, z$1.core.$strip>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/lib.contracts",
3
- "version": "0.0.0-canary-20251221164004",
3
+ "version": "0.0.0-canary-20251221185840",
4
4
  "scripts": {
5
5
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
6
6
  "publish:pkg:canary": "bun publish:pkg --tag canary",
@@ -16,8 +16,8 @@
16
16
  "test": "bun run"
17
17
  },
18
18
  "devDependencies": {
19
- "@lssm/tool.tsdown": "0.0.0-canary-20251221164004",
20
- "@lssm/tool.typescript": "0.0.0-canary-20251221164004",
19
+ "@lssm/tool.tsdown": "0.0.0-canary-20251221185840",
20
+ "@lssm/tool.typescript": "0.0.0-canary-20251221185840",
21
21
  "@types/express": "^5.0.3",
22
22
  "@types/turndown": "^5.0.6",
23
23
  "tsdown": "^0.18.1",
@@ -35,8 +35,8 @@
35
35
  "@elevenlabs/elevenlabs-js": "^2.27.0",
36
36
  "@google-cloud/secret-manager": "^6.1.1",
37
37
  "@google-cloud/storage": "^7.18.0",
38
- "@lssm/lib.logger": "0.0.0-canary-20251221164004",
39
- "@lssm/lib.schema": "0.0.0-canary-20251221164004",
38
+ "@lssm/lib.logger": "0.0.0-canary-20251221185840",
39
+ "@lssm/lib.schema": "0.0.0-canary-20251221185840",
40
40
  "@mistralai/mistralai": "^1.11.0",
41
41
  "@modelcontextprotocol/sdk": "^1.24.3",
42
42
  "@qdrant/js-client-rest": "^1.16.2",