apps 0.0.1-beta.1 → 0.0.1-beta.2

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 (47) hide show
  1. package/framework-reference.json +1 -1
  2. package/js/browser-XIPJGLH2.js +65 -0
  3. package/js/{chunk-6YBRWRK3.js → chunk-5MQZEB6Y.js} +16 -4
  4. package/js/chunk-D47C7KG5.js +172 -0
  5. package/js/{chunk-ZTFQHGEB.js → chunk-FDNTX5QJ.js} +1 -3
  6. package/js/{chunk-G7IE6BKC.js → chunk-HDTGZWP2.js} +2 -2
  7. package/js/{chunk-KOXMLKTM.js → chunk-J7O55ZV7.js} +20 -148
  8. package/js/{chunk-RBAC33PQ.js → chunk-JN55AYQH.js} +3 -57
  9. package/js/chunk-LGIYBDWA.js +85 -0
  10. package/js/{chunk-IHQ4ML7K.js → chunk-MYYEW3RA.js} +130 -86
  11. package/js/{chunk-PZ36XMXW.js → chunk-PYUYJRSK.js} +1 -1
  12. package/js/{chunk-X7SFGU4Q.js → chunk-RN2MXB4R.js} +4 -4
  13. package/js/{chunk-NCYXZN2G.js → chunk-UVL56Z6E.js} +390 -23
  14. package/js/{chunk-2HHMABB6.js → chunk-WFSQXYUT.js} +46 -10
  15. package/js/{chunk-6IIO4NPI.js → chunk-Z5NMEGJN.js} +1 -1
  16. package/js/client.js +1 -1
  17. package/js/contracts.js +8 -1
  18. package/js/effect.js +8 -7
  19. package/js/es-APDZKREY.js +40968 -0
  20. package/js/graphql.js +10 -9
  21. package/js/host.js +12 -11
  22. package/js/index.js +7 -5
  23. package/js/mcp/effect.js +10 -9
  24. package/js/mcp/stdio.js +10 -9
  25. package/js/mcp.js +12 -11
  26. package/js/openapi.js +776 -41590
  27. package/js/skills/effect.js +1 -2
  28. package/js/skills.js +47 -10
  29. package/package.json +1 -1
  30. package/runtime.json +1 -1
  31. package/types/app-cache/src/contracts/cache.d.ts +42 -2
  32. package/types/app-cache/src/index.d.ts +59 -1
  33. package/types/apps/src/contracts/cache.d.ts +4 -1
  34. package/types/apps/src/contracts/host.d.ts +8 -672
  35. package/types/apps/src/contracts/openapi.d.ts +6 -0
  36. package/types/apps/src/contracts/protocol-version.d.ts +6 -0
  37. package/types/apps/src/contracts/protocols/1.d.ts +1575 -0
  38. package/types/apps/src/contracts/skills.d.ts +17 -8
  39. package/types/apps/src/implementation/cache.d.ts +3 -1
  40. package/types/apps/src/implementation/openapi-compile.d.ts +1 -1
  41. package/types/apps/src/implementation/openapi-document.d.ts +0 -2
  42. package/types/apps/src/implementation/openapi-names.d.ts +18 -0
  43. package/types/apps/src/implementation/openapi-request.d.ts +0 -1
  44. package/types/apps/src/implementation/openapi-source.d.ts +5 -1
  45. package/types/apps/src/implementation/schema.d.ts +0 -5
  46. package/types/apps/src/implementation/swagger-client.d.ts +28 -0
  47. package/types/apps/src/skills.d.ts +6 -3
@@ -40,7 +40,10 @@ export declare const OpenapiRequestBody: Schema.Struct<{
40
40
  }>;
41
41
  /** Credential-free operation data emitted by the OpenAPI importer. */
42
42
  export declare const OpenapiOperation: Schema.Struct<{
43
+ /** The tool name after `queries.` or `mutations.`, grouped as `<group>.<leaf>`. */
43
44
  readonly name: Schema.NonEmptyString;
45
+ /** The document's operationId, when it declares one. `kinds` overrides are keyed by it. */
46
+ readonly operationId: Schema.optionalKey<Schema.String>;
44
47
  readonly description: Schema.String;
45
48
  readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
46
49
  readonly path: Schema.String;
@@ -115,7 +118,10 @@ export type OpenapiParameterDefaults = typeof OpenapiParameterDefaults.Type;
115
118
  /** Parsed options for one account's evaluation. */
116
119
  export declare const OpenapiToolsOptions: Schema.Struct<{
117
120
  readonly operations: Schema.$Array<Schema.Struct<{
121
+ /** The tool name after `queries.` or `mutations.`, grouped as `<group>.<leaf>`. */
118
122
  readonly name: Schema.NonEmptyString;
123
+ /** The document's operationId, when it declares one. `kinds` overrides are keyed by it. */
124
+ readonly operationId: Schema.optionalKey<Schema.String>;
119
125
  readonly description: Schema.String;
120
126
  readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
121
127
  readonly path: Schema.String;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The host protocol this framework speaks. It is written into `runtime.json` and every host
3
+ * snapshot. Released protocols are frozen: see `protocols/1.ts` and notes/apps-publishing.md.
4
+ * This file has no imports so the package build script can read it directly.
5
+ */
6
+ export declare const frameworkProtocol = 1;