@xanots/sdk 0.0.1 → 0.0.3-beta.0

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 (59) hide show
  1. package/README.md +10 -1
  2. package/dist/.build-fingerprint +1 -0
  3. package/dist/{agent-file-refresh-7XCACU34.js → agent-file-refresh-J3KY54E5.js} +3 -2
  4. package/dist/bin.js +8 -8
  5. package/dist/chunk-4HKZH6YK.js +307 -0
  6. package/dist/{chunk-3DUAGYGP.js → chunk-55VHDNW5.js} +2 -2
  7. package/dist/{chunk-EMCAWMHC.js → chunk-5L4X5LS6.js} +16 -2
  8. package/dist/{chunk-LH6Z6KFV.js → chunk-5XZ744TS.js} +1 -1
  9. package/dist/chunk-6DHJVLYP.js +2044 -0
  10. package/dist/{chunk-TRU5OHQ5.js → chunk-CBL57QBQ.js} +53 -31
  11. package/dist/{chunk-5YTBTF25.js → chunk-EWFHDJY5.js} +2 -2
  12. package/dist/{chunk-MZUI3JNX.js → chunk-F6JCFRKO.js} +2 -2
  13. package/dist/{chunk-IZW6MK3U.js → chunk-FY6LXRR6.js} +2 -2
  14. package/dist/{chunk-NOO35BQ2.js → chunk-HKAX756N.js} +3 -3
  15. package/dist/{chunk-RVB7ITKN.js → chunk-LU7TRWMC.js} +2 -2
  16. package/dist/{chunk-33ND6LKO.js → chunk-MWLNBSTY.js} +2 -2
  17. package/dist/{chunk-26CNBZE2.js → chunk-P3TTMWUP.js} +13 -4
  18. package/dist/{chunk-YYRDLFSJ.js → chunk-QO4I5OYF.js} +40 -2
  19. package/dist/{chunk-YDZYMZBE.js → chunk-TQUO2OXY.js} +4 -4
  20. package/dist/{chunk-FJ6ZS5KB.js → chunk-U3G2UW65.js} +177 -60
  21. package/dist/{chunk-YGPIY3WT.js → chunk-VVXPK6SE.js} +64 -22
  22. package/dist/{chunk-VKFQJEMW.js → chunk-WRYT2PAX.js} +14 -371
  23. package/dist/{chunk-WKP4D5MO.js → chunk-YZ4GU6F5.js} +283 -252
  24. package/dist/cli.d.ts +22 -0
  25. package/dist/cli.js +8 -8
  26. package/dist/{codegen-command-OOKK6AZK.js → codegen-command-EXLKZ2ZI.js} +19 -17
  27. package/dist/codegen.js +2 -2
  28. package/dist/{completion-TIPPZN7H.js → completion-2PVZK6YX.js} +2 -2
  29. package/dist/{deploy-command-4EQ7XX5G.js → deploy-command-SXX6RJWM.js} +16 -16
  30. package/dist/{env-target-IFJ5QDHC.js → env-target-3EGIPR4D.js} +2 -2
  31. package/dist/{ephemeral-command-3X3I4ULC.js → ephemeral-command-OGOYP7D6.js} +15 -15
  32. package/dist/index.d.ts +106 -84
  33. package/dist/index.js +6 -6
  34. package/dist/{init-command-R6H7ZXW5.js → init-command-6DGXEVZD.js} +13 -11
  35. package/dist/internal.d.ts +2 -2
  36. package/dist/internal.js +29 -11
  37. package/dist/{live-diff-Y3AKETHE.js → live-diff-RXSJCVJ7.js} +2 -2
  38. package/dist/{lock-commands-XTR2YKLY.js → lock-commands-R22J54XV.js} +11 -11
  39. package/dist/{loop-OM3P2Z6O.js → loop-SAWAOUFO.js} +2 -2
  40. package/dist/{marketplace-command-RATXTKXN.js → marketplace-command-XJIWL4YP.js} +6 -6
  41. package/dist/meta-client-OW5WKWW7.js +1 -1
  42. package/dist/node.d.ts +2 -2
  43. package/dist/node.js +14 -14
  44. package/dist/{release-command-VV5UVZKL.js → release-command-6PLMLGDK.js} +20 -20
  45. package/dist/sandbox-export-command-QCJY4GMV.js +1 -1
  46. package/dist/scaffold.d.ts +1896 -0
  47. package/dist/scaffold.js +101 -0
  48. package/dist/{store-BQ97nKIF.d.ts → store-g45zwB33.d.ts} +91 -75
  49. package/dist/{test-command-TSPBQHBM.js → test-command-LLPXKT35.js} +4 -4
  50. package/dist/{validate-command-4ERHJSCO.js → validate-command-WAT3ZJT3.js} +11 -11
  51. package/dist/{workspace-command-OF23DPNI.js → workspace-command-JKMI7RZ4.js} +20 -18
  52. package/dist/workspace-export-AJMGN3CQ.js +1 -1
  53. package/llms/statements-calls.md +4 -4
  54. package/llms/statements-catalog.md +20 -20
  55. package/llms/statements-data.md +1 -1
  56. package/llms-full.txt +26 -26
  57. package/llms.txt +1 -1
  58. package/manifest.json +197 -84
  59. package/package.json +10 -1
@@ -0,0 +1,101 @@
1
+ import {
2
+ DEFAULT_FRAMEWORK,
3
+ FRAMEWORKS,
4
+ allFrontendPresets,
5
+ findFrontendPreset,
6
+ renderIndexCss,
7
+ resolveFrameworkFlag
8
+ } from "./chunk-YZ4GU6F5.js";
9
+ import {
10
+ ACCENTS,
11
+ ACCENT_TOKENS,
12
+ BASE_COLORS,
13
+ BASE_TOKENS,
14
+ CURATED_THEMES,
15
+ DARK_MODES,
16
+ DEFAULT_BASE_COLOR,
17
+ DEFAULT_DARK_MODE,
18
+ DEFAULT_ICON_LIBRARY,
19
+ DEFAULT_RADIUS,
20
+ FONTS,
21
+ FONT_IDS,
22
+ ICON_LIBRARIES,
23
+ TOKEN_ORDER,
24
+ allIconLibraries,
25
+ buildTheme,
26
+ colorTokens,
27
+ curatedThemes,
28
+ defaultIconLibrary,
29
+ defaultTheme,
30
+ defaultThemeChoice,
31
+ describeFonts,
32
+ findFont,
33
+ findIconLibrary,
34
+ fontDependencies,
35
+ fontImports,
36
+ fontThemeVars,
37
+ iconLibraryOf,
38
+ isAccent,
39
+ isBaseColor,
40
+ normalizeRadius,
41
+ orderedTokens,
42
+ parseColor,
43
+ resolveDarkModeFlag,
44
+ resolveFontFlag,
45
+ resolveIconsFlag,
46
+ resolveThemeFlag,
47
+ themeFromRegistryItem,
48
+ themeGuidanceSection,
49
+ themeSwatch,
50
+ withRadius
51
+ } from "./chunk-6DHJVLYP.js";
52
+ export {
53
+ ACCENTS,
54
+ ACCENT_TOKENS,
55
+ BASE_COLORS,
56
+ BASE_TOKENS,
57
+ CURATED_THEMES,
58
+ DARK_MODES,
59
+ DEFAULT_BASE_COLOR,
60
+ DEFAULT_DARK_MODE,
61
+ DEFAULT_FRAMEWORK,
62
+ DEFAULT_ICON_LIBRARY,
63
+ DEFAULT_RADIUS,
64
+ FONTS,
65
+ FONT_IDS,
66
+ FRAMEWORKS,
67
+ ICON_LIBRARIES,
68
+ TOKEN_ORDER,
69
+ allFrontendPresets,
70
+ allIconLibraries,
71
+ buildTheme,
72
+ colorTokens,
73
+ curatedThemes,
74
+ defaultIconLibrary,
75
+ defaultTheme,
76
+ defaultThemeChoice,
77
+ describeFonts,
78
+ findFont,
79
+ findFrontendPreset,
80
+ findIconLibrary,
81
+ fontDependencies,
82
+ fontImports,
83
+ fontThemeVars,
84
+ iconLibraryOf,
85
+ isAccent,
86
+ isBaseColor,
87
+ normalizeRadius,
88
+ orderedTokens,
89
+ parseColor,
90
+ renderIndexCss,
91
+ resolveDarkModeFlag,
92
+ resolveFontFlag,
93
+ resolveFrameworkFlag,
94
+ resolveIconsFlag,
95
+ resolveThemeFlag,
96
+ themeFromRegistryItem,
97
+ themeGuidanceSection,
98
+ themeSwatch,
99
+ withRadius
100
+ };
101
+ //# sourceMappingURL=scaffold.js.map
@@ -3290,9 +3290,9 @@ declare const generated: {
3290
3290
  ai: {
3291
3291
  external: {
3292
3292
  mcp: {
3293
- server_details: (a?: {
3293
+ server_details: (a: {
3294
3294
  as?: string;
3295
- url?: Value;
3295
+ url: Value;
3296
3296
  bearer_token?: Value;
3297
3297
  connection_type?: "sse" | "stream" | Value;
3298
3298
  disabled?: boolean;
@@ -3300,21 +3300,21 @@ declare const generated: {
3300
3300
  asFilters?: FilterXdo[];
3301
3301
  }) => Statement;
3302
3302
  tool: {
3303
- list: (a?: {
3303
+ list: (a: {
3304
3304
  as?: string;
3305
- url?: Value;
3305
+ url: Value;
3306
3306
  bearer_token?: Value;
3307
3307
  connection_type?: "sse" | "stream" | Value;
3308
3308
  disabled?: boolean;
3309
3309
  description?: string;
3310
3310
  asFilters?: FilterXdo[];
3311
3311
  }) => Statement;
3312
- run: (a?: {
3312
+ run: (a: {
3313
3313
  as?: string;
3314
- url?: Value;
3314
+ url: Value;
3315
3315
  bearer_token?: Value;
3316
3316
  connection_type?: "sse" | "stream" | Value;
3317
- tool?: Value;
3317
+ tool: Value;
3318
3318
  args?: Value;
3319
3319
  disabled?: boolean;
3320
3320
  description?: string;
@@ -3325,9 +3325,9 @@ declare const generated: {
3325
3325
  };
3326
3326
  };
3327
3327
  api: {
3328
- request: (a?: {
3328
+ request: (a: {
3329
3329
  as?: string;
3330
- url?: Value;
3330
+ url: Value;
3331
3331
  method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | Value;
3332
3332
  params?: Value;
3333
3333
  headers?: Value;
@@ -3500,27 +3500,27 @@ declare const generated: {
3500
3500
  document: (a: {
3501
3501
  as?: string;
3502
3502
  auth_type?: "IAM" | "master" | Value;
3503
- key_id?: Value;
3504
- access_key?: Value;
3505
- region?: Value;
3503
+ key_id: Value;
3504
+ access_key: Value;
3505
+ region: Value;
3506
3506
  base_url: Value;
3507
3507
  method?: "GET" | "POST" | "PUT" | "DELETE" | Value;
3508
- index?: Value;
3509
- doc_id?: Value;
3510
- doc?: Value;
3508
+ index: Value;
3509
+ doc_id: Value;
3510
+ doc: Value;
3511
3511
  disabled?: boolean;
3512
3512
  description?: string;
3513
3513
  asFilters?: FilterXdo[];
3514
3514
  }) => Statement;
3515
- query: (a?: {
3515
+ query: (a: {
3516
3516
  as?: string;
3517
3517
  auth_type?: "IAM" | "master" | Value;
3518
- key_id?: Value;
3519
- access_key?: Value;
3520
- region?: Value;
3521
- base_url?: Value;
3522
- index?: Value;
3523
- payload?: Value;
3518
+ key_id: Value;
3519
+ access_key: Value;
3520
+ region: Value;
3521
+ base_url: Value;
3522
+ index: Value;
3523
+ payload: Value;
3524
3524
  size?: Value;
3525
3525
  from?: Value;
3526
3526
  included_fields?: Value;
@@ -3531,15 +3531,15 @@ declare const generated: {
3531
3531
  description?: string;
3532
3532
  asFilters?: FilterXdo[];
3533
3533
  }) => Statement;
3534
- request: (a?: {
3534
+ request: (a: {
3535
3535
  as?: string;
3536
3536
  auth_type?: "IAM" | "master" | Value;
3537
- key_id?: Value;
3538
- access_key?: Value;
3539
- region?: Value;
3537
+ key_id: Value;
3538
+ access_key: Value;
3539
+ region: Value;
3540
3540
  method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | Value;
3541
- url?: Value;
3542
- query?: Value;
3541
+ url: Value;
3542
+ query: Value;
3543
3543
  disabled?: boolean;
3544
3544
  description?: string;
3545
3545
  asFilters?: FilterXdo[];
@@ -3702,14 +3702,14 @@ declare const generated: {
3702
3702
  description?: string;
3703
3703
  asFilters?: FilterXdo[];
3704
3704
  }) => Statement;
3705
- query: (a?: {
3705
+ query: (a: {
3706
3706
  as?: string;
3707
3707
  auth_type?: "Basic" | "Bearer" | "API Key" | Value;
3708
- key_id?: Value;
3709
- access_key?: Value;
3710
- base_url?: Value;
3711
- index?: Value;
3712
- payload?: Value;
3708
+ key_id: Value;
3709
+ access_key: Value;
3710
+ base_url: Value;
3711
+ index: Value;
3712
+ payload: Value;
3713
3713
  size?: Value;
3714
3714
  from?: Value;
3715
3715
  included_fields?: Value;
@@ -3720,14 +3720,14 @@ declare const generated: {
3720
3720
  description?: string;
3721
3721
  asFilters?: FilterXdo[];
3722
3722
  }) => Statement;
3723
- request: (a?: {
3723
+ request: (a: {
3724
3724
  as?: string;
3725
3725
  auth_type?: "Basic" | "Bearer" | "API Key" | Value;
3726
- key_id?: Value;
3727
- access_key?: Value;
3726
+ key_id: Value;
3727
+ access_key: Value;
3728
3728
  method?: "POST" | "GET" | "PUT" | "DELETE" | "PATCH" | Value;
3729
- url?: Value;
3730
- payload?: Value;
3729
+ url: Value;
3730
+ payload: Value;
3731
3731
  disabled?: boolean;
3732
3732
  description?: string;
3733
3733
  asFilters?: FilterXdo[];
@@ -3797,8 +3797,8 @@ declare const generated: {
3797
3797
  };
3798
3798
  };
3799
3799
  datadog: {
3800
- log: (a?: {
3801
- message?: Value;
3800
+ log: (a: {
3801
+ message: Value;
3802
3802
  status?: "debug" | "info" | "notice" | "warn" | "error" | "critical" | "alert" | "emergency" | Value;
3803
3803
  attributes?: Value;
3804
3804
  service?: Value;
@@ -3818,7 +3818,7 @@ declare const generated: {
3818
3818
  description?: string;
3819
3819
  }) => Statement;
3820
3820
  metric: (a: {
3821
- metric?: Value;
3821
+ metric: Value;
3822
3822
  value: Value;
3823
3823
  type?: "count" | "gauge" | "rate" | "histogram" | "distribution" | Value;
3824
3824
  tags?: Value;
@@ -3960,9 +3960,9 @@ declare const generated: {
3960
3960
  description?: string;
3961
3961
  }) => Statement;
3962
3962
  };
3963
- lambda: (a?: {
3963
+ lambda: (a: {
3964
3964
  as?: string;
3965
- code?: Value | LambdaBody<"s.lambda">;
3965
+ code: Value | LambdaBody<"s.lambda">;
3966
3966
  timeout?: Value;
3967
3967
  disabled?: boolean;
3968
3968
  description?: string;
@@ -4203,10 +4203,10 @@ declare const generated: {
4203
4203
  }) => Statement;
4204
4204
  };
4205
4205
  security: {
4206
- check_password: (a?: {
4206
+ check_password: (a: {
4207
4207
  as?: string;
4208
- text_password?: Value;
4209
- hash_password?: Value;
4208
+ text_password: Value;
4209
+ hash_password: Value;
4210
4210
  disabled?: boolean;
4211
4211
  description?: string;
4212
4212
  asFilters?: FilterXdo[];
@@ -4254,30 +4254,30 @@ declare const generated: {
4254
4254
  description?: string;
4255
4255
  asFilters?: FilterXdo[];
4256
4256
  }) => Statement;
4257
- decrypt: (a?: {
4257
+ decrypt: (a: {
4258
4258
  as?: string;
4259
- data?: Value;
4259
+ data: Value;
4260
4260
  algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | Value;
4261
- key?: Value;
4262
- iv?: Value;
4261
+ key: Value;
4262
+ iv: Value;
4263
4263
  disabled?: boolean;
4264
4264
  description?: string;
4265
4265
  asFilters?: FilterXdo[];
4266
4266
  }) => Statement;
4267
- encrypt: (a?: {
4267
+ encrypt: (a: {
4268
4268
  as?: string;
4269
- data?: Value;
4269
+ data: Value;
4270
4270
  algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | Value;
4271
- key?: Value;
4272
- iv?: Value;
4271
+ key: Value;
4272
+ iv: Value;
4273
4273
  disabled?: boolean;
4274
4274
  description?: string;
4275
4275
  asFilters?: FilterXdo[];
4276
4276
  }) => Statement;
4277
- jwe_decode: (a?: {
4277
+ jwe_decode: (a: {
4278
4278
  as?: string;
4279
- token?: Value;
4280
- key?: Value;
4279
+ token: Value;
4280
+ key: Value;
4281
4281
  check_claims?: Value;
4282
4282
  key_algorithm?: "A128KW" | "A192KW" | "A256KW" | "A128GCMKW" | "A192GCMKW" | "A256GCMKW" | "ECDH-ES+A128KW" | "ECDH-ES+A192KW" | "ECDH-ES+A256KW" | Value;
4283
4283
  content_algorithm?: "A128GCM" | "A192GCM" | "A256GCM" | "A128CBC-HS256" | "A192CBC-HS384" | "A256CBC-HS512" | Value;
@@ -4286,11 +4286,11 @@ declare const generated: {
4286
4286
  description?: string;
4287
4287
  asFilters?: FilterXdo[];
4288
4288
  }) => Statement;
4289
- jwe_encode: (a?: {
4289
+ jwe_encode: (a: {
4290
4290
  as?: string;
4291
4291
  headers?: Value;
4292
4292
  claims?: Value;
4293
- key?: Value;
4293
+ key: Value;
4294
4294
  key_algorithm?: "A128KW" | "A192KW" | "A256KW" | "A128GCMKW" | "A192GCMKW" | "A256GCMKW" | "ECDH-ES+A128KW" | "ECDH-ES+A192KW" | "ECDH-ES+A256KW" | Value;
4295
4295
  content_algorithm?: "A128GCM" | "A192GCM" | "A256GCM" | "A128CBC-HS256" | "A192CBC-HS384" | "A256CBC-HS512" | Value;
4296
4296
  ttl?: Value;
@@ -4298,10 +4298,10 @@ declare const generated: {
4298
4298
  description?: string;
4299
4299
  asFilters?: FilterXdo[];
4300
4300
  }) => Statement;
4301
- jws_decode: (a?: {
4301
+ jws_decode: (a: {
4302
4302
  as?: string;
4303
- token?: Value;
4304
- key?: Value;
4303
+ token: Value;
4304
+ key: Value;
4305
4305
  check_claims?: Value;
4306
4306
  signature_algorithm?: "PS256" | "PS384" | "PS512" | "RS256" | "RS384" | "RS512" | "HS256" | "HS384" | "HS512" | "ES256" | "ES384" | "ES512" | Value;
4307
4307
  timeDrift?: Value;
@@ -4309,11 +4309,11 @@ declare const generated: {
4309
4309
  description?: string;
4310
4310
  asFilters?: FilterXdo[];
4311
4311
  }) => Statement;
4312
- jws_encode: (a?: {
4312
+ jws_encode: (a: {
4313
4313
  as?: string;
4314
4314
  headers?: Value;
4315
4315
  claims?: Value;
4316
- key?: Value;
4316
+ key: Value;
4317
4317
  signature_algorithm?: "PS256" | "PS384" | "PS512" | "RS256" | "RS384" | "RS512" | "HS256" | "HS384" | "HS512" | "ES256" | "ES384" | "ES512" | Value;
4318
4318
  ttl?: Value;
4319
4319
  disabled?: boolean;
@@ -4428,9 +4428,9 @@ declare const generated: {
4428
4428
  description?: string;
4429
4429
  asFilters?: FilterXdo[];
4430
4430
  }) => Statement;
4431
- from_request: (a?: {
4431
+ from_request: (a: {
4432
4432
  as?: string;
4433
- url?: Value;
4433
+ url: Value;
4434
4434
  method?: Value;
4435
4435
  params?: Value;
4436
4436
  headers?: Value;
@@ -4535,12 +4535,12 @@ declare const generated: {
4535
4535
  description?: string;
4536
4536
  }) => Statement;
4537
4537
  util: {
4538
- geo_distance: (a?: {
4538
+ geo_distance: (a: {
4539
4539
  as?: string;
4540
- latitude_1?: Value;
4541
- longitude_1?: Value;
4542
- latitude_2?: Value;
4543
- longitude_2?: Value;
4540
+ latitude_1: Value;
4541
+ longitude_1: Value;
4542
+ latitude_2: Value;
4543
+ longitude_2: Value;
4544
4544
  disabled?: boolean;
4545
4545
  description?: string;
4546
4546
  asFilters?: FilterXdo[];
@@ -4572,8 +4572,8 @@ declare const generated: {
4572
4572
  }) => Statement;
4573
4573
  send_email: (a?: {
4574
4574
  as?: string;
4575
- service_provider?: "resend" | "xano" | Value;
4576
4575
  api_key?: Value;
4576
+ service_provider?: "resend" | "xano" | Value;
4577
4577
  subject?: Value;
4578
4578
  message?: Value;
4579
4579
  to?: Value;
@@ -4606,9 +4606,9 @@ declare const generated: {
4606
4606
  }) => Statement;
4607
4607
  };
4608
4608
  webflow: {
4609
- request: (a?: {
4609
+ request: (a: {
4610
4610
  as?: string;
4611
- path?: Value;
4611
+ path: Value;
4612
4612
  method?: Value;
4613
4613
  params?: Value;
4614
4614
  headers?: Value;
@@ -7234,9 +7234,25 @@ interface Manifest {
7234
7234
  absence: string;
7235
7235
  }[];
7236
7236
  };
7237
+ /**
7238
+ * `unconfirmed` names the statements built from the engine's schema alone,
7239
+ * with no stored instance behind them — the same "make the denominator
7240
+ * inspectable" move as `unmodeled` above, for a different kind of
7241
+ * shortfall. Published as `s.` paths, because that is what an agent looks a
7242
+ * statement up by. See `src/statements/byte-evidence.ts`.
7243
+ */
7237
7244
  statements: {
7238
7245
  implemented: number;
7239
7246
  total: number;
7247
+ /**
7248
+ * Omitted entirely when nothing is unconfirmed — an empty warning channel
7249
+ * that ships on every build teaches a reader to skip the one time it has
7250
+ * something in it.
7251
+ */
7252
+ unconfirmed?: {
7253
+ note: string;
7254
+ sPaths: string[];
7255
+ };
7240
7256
  };
7241
7257
  filters: {
7242
7258
  typed: number;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveMetaTarget
3
- } from "./chunk-33ND6LKO.js";
3
+ } from "./chunk-MWLNBSTY.js";
4
4
  import "./chunk-DGSF2Q5H.js";
5
5
  import "./chunk-7DKX2SPN.js";
6
6
  import "./chunk-NDZFBZHC.js";
@@ -19,7 +19,7 @@ import {
19
19
  import "./chunk-7REDODS2.js";
20
20
  import {
21
21
  unknownSubcommand
22
- } from "./chunk-IZW6MK3U.js";
22
+ } from "./chunk-FY6LXRR6.js";
23
23
  import {
24
24
  blank,
25
25
  detail,
@@ -28,8 +28,8 @@ import {
28
28
  success,
29
29
  warn
30
30
  } from "./chunk-EZG76F7R.js";
31
- import "./chunk-YYRDLFSJ.js";
32
31
  import "./chunk-GNPVYOPB.js";
32
+ import "./chunk-QO4I5OYF.js";
33
33
 
34
34
  // src/deploy/tests.ts
35
35
  var TIMEOUT_MS = 12e4;
@@ -380,4 +380,4 @@ export {
380
380
  runSuite,
381
381
  runTestCommand
382
382
  };
383
- //# sourceMappingURL=test-command-TSPBQHBM.js.map
383
+ //# sourceMappingURL=test-command-LLPXKT35.js.map
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  assertBundleInput,
3
3
  loadBundleText
4
- } from "./chunk-NOO35BQ2.js";
5
- import "./chunk-YGPIY3WT.js";
6
- import "./chunk-IZW6MK3U.js";
4
+ } from "./chunk-HKAX756N.js";
5
+ import "./chunk-VVXPK6SE.js";
6
+ import "./chunk-FY6LXRR6.js";
7
+ import "./chunk-HJPTWBLH.js";
7
8
  import {
8
9
  blank,
9
10
  detail,
@@ -12,13 +13,12 @@ import {
12
13
  success,
13
14
  warn
14
15
  } from "./chunk-EZG76F7R.js";
15
- import "./chunk-3DUAGYGP.js";
16
- import "./chunk-YYRDLFSJ.js";
17
- import "./chunk-EMCAWMHC.js";
18
- import "./chunk-WHOJWOSV.js";
19
- import "./chunk-LH6Z6KFV.js";
20
- import "./chunk-HJPTWBLH.js";
21
16
  import "./chunk-GNPVYOPB.js";
17
+ import "./chunk-55VHDNW5.js";
18
+ import "./chunk-QO4I5OYF.js";
19
+ import "./chunk-5L4X5LS6.js";
20
+ import "./chunk-WHOJWOSV.js";
21
+ import "./chunk-5XZ744TS.js";
22
22
  import "./chunk-4HT3BNZ7.js";
23
23
 
24
24
  // src/emit/validate-command.ts
@@ -44,7 +44,7 @@ async function runValidateCommand(args) {
44
44
  }
45
45
  }
46
46
  async function validateWithClient(args, client, bundle) {
47
- const { runValidateLoop, runnableFunctionNames } = await import("./loop-OM3P2Z6O.js");
47
+ const { runValidateLoop, runnableFunctionNames } = await import("./loop-SAWAOUFO.js");
48
48
  const result = await runValidateLoop(client, bundle);
49
49
  if (!result.accepted) {
50
50
  warn("Import rejected by the engine:");
@@ -119,4 +119,4 @@ function fmt(v) {
119
119
  export {
120
120
  runValidateCommand
121
121
  };
122
- //# sourceMappingURL=validate-command-4ERHJSCO.js.map
122
+ //# sourceMappingURL=validate-command-WAT3ZJT3.js.map
@@ -1,17 +1,13 @@
1
1
  import {
2
2
  fetchWorkspaceBundle,
3
3
  runCodegenCommand
4
- } from "./chunk-TRU5OHQ5.js";
5
- import "./chunk-26CNBZE2.js";
4
+ } from "./chunk-CBL57QBQ.js";
5
+ import "./chunk-P3TTMWUP.js";
6
6
  import {
7
7
  resolveOutputTarget
8
8
  } from "./chunk-XQ22GLYS.js";
9
9
  import "./chunk-QTNO2WD6.js";
10
10
  import "./chunk-ZUTSMMAG.js";
11
- import "./chunk-WKP4D5MO.js";
12
- import "./chunk-VKFQJEMW.js";
13
- import "./chunk-47WDWMBJ.js";
14
- import "./chunk-X4DVXBFY.js";
15
11
  import "./chunk-7DKX2SPN.js";
16
12
  import {
17
13
  printMicroserviceSection,
@@ -21,6 +17,9 @@ import {
21
17
  isMachineOutput,
22
18
  writeJson
23
19
  } from "./chunk-NUQCEOKA.js";
20
+ import "./chunk-4HKZH6YK.js";
21
+ import "./chunk-WRYT2PAX.js";
22
+ import "./chunk-47WDWMBJ.js";
24
23
  import {
25
24
  fetchOrExplain,
26
25
  httpFailure
@@ -30,28 +29,31 @@ import {
30
29
  getAccessToken
31
30
  } from "./chunk-C56BC2FY.js";
32
31
  import "./chunk-7REDODS2.js";
33
- import "./chunk-MZUI3JNX.js";
34
- import "./chunk-RVB7ITKN.js";
32
+ import "./chunk-X4DVXBFY.js";
33
+ import "./chunk-F6JCFRKO.js";
34
+ import "./chunk-LU7TRWMC.js";
35
+ import "./chunk-YZ4GU6F5.js";
36
+ import "./chunk-6DHJVLYP.js";
35
37
  import "./chunk-4BXJGVZ3.js";
36
- import "./chunk-FJ6ZS5KB.js";
37
- import "./chunk-YGPIY3WT.js";
38
+ import "./chunk-U3G2UW65.js";
39
+ import "./chunk-VVXPK6SE.js";
38
40
  import {
39
41
  removedSubcommand,
40
42
  unknownSubcommand
41
- } from "./chunk-IZW6MK3U.js";
43
+ } from "./chunk-FY6LXRR6.js";
44
+ import "./chunk-HJPTWBLH.js";
42
45
  import {
43
46
  formatFields,
44
47
  stdoutStyle,
45
48
  step,
46
49
  success
47
50
  } from "./chunk-EZG76F7R.js";
48
- import "./chunk-3DUAGYGP.js";
49
- import "./chunk-YYRDLFSJ.js";
50
- import "./chunk-EMCAWMHC.js";
51
- import "./chunk-WHOJWOSV.js";
52
- import "./chunk-LH6Z6KFV.js";
53
- import "./chunk-HJPTWBLH.js";
54
51
  import "./chunk-GNPVYOPB.js";
52
+ import "./chunk-55VHDNW5.js";
53
+ import "./chunk-QO4I5OYF.js";
54
+ import "./chunk-5L4X5LS6.js";
55
+ import "./chunk-WHOJWOSV.js";
56
+ import "./chunk-5XZ744TS.js";
55
57
  import "./chunk-4HT3BNZ7.js";
56
58
 
57
59
  // src/emit/workspace-command.ts
@@ -153,4 +155,4 @@ async function runExport(args) {
153
155
  export {
154
156
  runWorkspaceCommand
155
157
  };
156
- //# sourceMappingURL=workspace-command-OF23DPNI.js.map
158
+ //# sourceMappingURL=workspace-command-JKMI7RZ4.js.map
@@ -2,8 +2,8 @@ import {
2
2
  exportWorkspaceBundle
3
3
  } from "./chunk-QTNO2WD6.js";
4
4
  import "./chunk-ZUTSMMAG.js";
5
- import "./chunk-X4DVXBFY.js";
6
5
  import "./chunk-3IGNIP6R.js";
6
+ import "./chunk-X4DVXBFY.js";
7
7
  export {
8
8
  exportWorkspaceBundle
9
9
  };
@@ -9,12 +9,12 @@ Auth & calls:
9
9
  - `s.function.run({ fn, input?, as?, runtime? })` / `s.function.call({ fn, input?, as? })` — run another function; `input` is keyed by the target's input names.
10
10
  - `runtime?` runs it in the BACKGROUND: `{ mode: "async-shared" }` or `{ mode: "async-dedicated", cpu?, memory?, timeout?, maxRetry? }` (resources read at dedicated only). An async call DOES NOT return the result — it dispatches and continues, so `as` binds nothing; collect with `s.await({ ids })`. Omit for a normal call. Same block on `s.ai.agent.run`.
11
11
  - `s.api.call({ api, input?, headers?, auth?, as? })` — invoke an endpoint. `headers` REPLACES the request headers the callee sees and takes the same shapes as `s.api.request`'s — a `{ "Name": value }` record (values may be tagged), a `string[]` of `"Name: value"` lines, or one `Value`. `auth` is `{ token, ignoreExpiration? }`: `token` must be a BARE STRING — a tagged `Value` deploys clean and then fails the run with `Param: token - Text filter requires an integer, float, string or boolean value`, since the engine stores that slot as plain text and never evaluates it. Neither slot authenticates the call today; see `llms/tests.md` for what a workflow-test run actually sees. WORKFLOW-TEST ONLY (see Gotchas in `llms.txt`) — elsewhere it deploys clean and 500s the first real request.
12
- - `s.api.request({ url?, method?, params?, headers?, timeout?, follow_location?, verify_host?, verify_peer?, ca_certificate?, certificate?, certificate_pass?, private_key?, private_key_pass?, description?, output?, as? })` — external HTTP request (`mvp:api_request`). Ergonomic types, each also accepting a dynamic `Value`: `method` suggests the 7 verbs (GET/POST/PUT/DELETE/HEAD/OPTIONS/PATCH), `params` a plain JSON object **or** a FLAT record whose values are tagged `Value`s (`{ count: ref("count") }`, each lifted via a `set` filter — the same record-of-values shape `response: { key: value }` takes); a tagged value NESTED inside an object or array THROWS at encode, so wrap a structured body in `obj({...})`, which encodes any depth as one `const:expr2` (→ query string for GET/HEAD/OPTIONS, body otherwise), `headers` a `{ "Name": value }` record whose values may be tagged (`{ "x-api-key": env("KEY") }`, each pair joined to a `"Name: value"` line) **or** a `string[]` of full header lines — prefer a header over a `?key=` query param for a credential — a URL travels into access logs, proxies and `Referer`. ⚠ Neither spelling is envelope-safe: the `as` envelope's `request` half mirrors `url`, `params` AND `headers`, so never return it raw from a credentialed request — read `response.result`. A NAME outside the header-token charset is refused, and a LITERAL value carrying a newline is refused; a value may hold `:` and spaces (`Bearer a: b` is a valid value). A TAGGED value cannot be checked at build time, so strip CRLF from caller-controlled input before this slot. Literal pairs lead the emitted array and computed ones follow, so the wire order is not the record's key order, `timeout` a `number` in seconds (1–86400), and `follow_location`/`verify_host`/`verify_peer` booleans. `description` (Settings tab) and `output` filters (Output tab) ride the envelope. SSL cert interdependencies (certificate↔private_key, ca_certificate→verify_peer) are checked at build time when statically provable, else by the engine at runtime. The `as` result is typed as the `{request, response}` envelope (`response.status: number`, `response.result: unknown`), so `InferResponse` resolves a `ref` to it. Same typed result on `webflow.request` and `microservice.request`.
13
- - `s.stream.from_request({ url?, method?, …tls, as? })` — streaming external HTTP request (`mvp:streaming_api_request`); same typed field surface as `s.api.request` (no description/output envelope).
14
- - `s.webflow.request({ path?, method?, …tls, as? })` — Webflow API request (`mvp:connect_webflow_api_request`); like `s.api.request` but addressed by `path` (host is engine-supplied).
12
+ - `s.api.request({ url, method?, params?, headers?, timeout?, follow_location?, verify_host?, verify_peer?, ca_certificate?, certificate?, certificate_pass?, private_key?, private_key_pass?, description?, output?, as? })` — external HTTP request (`mvp:api_request`). Ergonomic types, each also accepting a dynamic `Value`: `method` suggests the 7 verbs (GET/POST/PUT/DELETE/HEAD/OPTIONS/PATCH), `params` a plain JSON object **or** a FLAT record whose values are tagged `Value`s (`{ count: ref("count") }`, each lifted via a `set` filter — the same record-of-values shape `response: { key: value }` takes); a tagged value NESTED inside an object or array THROWS at encode, so wrap a structured body in `obj({...})`, which encodes any depth as one `const:expr2` (→ query string for GET/HEAD/OPTIONS, body otherwise), `headers` a `{ "Name": value }` record whose values may be tagged (`{ "x-api-key": env("KEY") }`, each pair joined to a `"Name: value"` line) **or** a `string[]` of full header lines — prefer a header over a `?key=` query param for a credential — a URL travels into access logs, proxies and `Referer`. ⚠ Neither spelling is envelope-safe: the `as` envelope's `request` half mirrors `url`, `params` AND `headers`, so never return it raw from a credentialed request — read `response.result`. A NAME outside the header-token charset is refused, and a LITERAL value carrying a newline is refused; a value may hold `:` and spaces (`Bearer a: b` is a valid value). A TAGGED value cannot be checked at build time, so strip CRLF from caller-controlled input before this slot. Literal pairs lead the emitted array and computed ones follow, so the wire order is not the record's key order, `timeout` a `number` in seconds (1–86400), and `follow_location`/`verify_host`/`verify_peer` booleans. `description` (Settings tab) and `output` filters (Output tab) ride the envelope. SSL cert interdependencies (certificate↔private_key, ca_certificate→verify_peer) are checked at build time when statically provable, else by the engine at runtime. The `as` result is typed as the `{request, response}` envelope (`response.status: number`, `response.result: unknown`), so `InferResponse` resolves a `ref` to it. Same typed result on `webflow.request` and `microservice.request`.
13
+ - `s.stream.from_request({ url, method?, …tls, as? })` — streaming external HTTP request (`mvp:streaming_api_request`); same typed field surface as `s.api.request` (no description/output envelope). `url` is REQUIRED — it shares `api.request`'s engine declaration, which has no default.
14
+ - `s.webflow.request({ path, method?, …tls, as? })` — Webflow API request (`mvp:connect_webflow_api_request`); like `s.api.request` but addressed by `path` (host is engine-supplied), and `path` is REQUIRED — the engine rejects an empty one. No `headers`: the engine builds its own from the workspace's Webflow connection and ignores an authored value.
15
15
  - `s.task.call` / `s.tool.call` / `s.trigger.call` / `s.middleware.call` / `s.addon.call` — same `{ <target>, input?, as? }` shape against the named kind. `s.task.call` and `s.trigger.call` are WORKFLOW-TEST ONLY (see Gotchas in `llms.txt`); `s.tool.call`, `s.middleware.call` and `s.addon.call` run from any stack.
16
16
  - `s.action.call({ action, package?, input?, as? })` / `s.action.package.call(…)` — invoke a marketplace action; `package` is its slug.
17
- - `s.cloud.job({ image?, command?, args?, secret?, template?, await?, as? })` — launch a containerized job. ⚠ `await` is SECONDS (default 60), not a boolean.
17
+ - `s.cloud.job({ image, command, args?, secret?, template?, await?, as? })` — launch a containerized job. `image`/`command` are REQUIRED; omitted → `Missing param`. ⚠ `await` is SECONDS (default 60), not a boolean.
18
18
  - `s.cloud.job.status({ id, as? })` · `s.cloud.job.await({ ids, timeout, as? })` — poll one job, or block on several (`ids` a list `Value`, `timeout` in seconds; both required).
19
19
 
20
20
  Microservices (the `microservice()` def and the statement that calls it):