@usine/gateway 0.2.1-next.326.g794dd6e.1.1 → 0.2.1

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.
@@ -105,7 +105,23 @@ export declare class AdminAuthorization extends AdminAuthorization_base {
105
105
  * for an attempt, and to read the gateway's LLM provider credential kinds (ADR 0013).
106
106
  * Renewal re-creates a missing attachment under the same ID, so caller tokens stay valid.
107
107
  */
108
- export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApiGroup.HttpApiGroup<"attachments", HttpApiEndpoint.HttpApiEndpoint<"attach", "POST", "/v1/attachments", never, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
108
+ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApiGroup.HttpApiGroup<"attachments", HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
109
+ id: Schema.brand<Schema.String, "AttachmentId">;
110
+ }>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
111
+ readonly _tag: "AttachmentPersistenceError";
112
+ readonly operation: "read" | "write";
113
+ readonly message: string;
114
+ }, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
115
+ readonly operation: Schema.Literals<readonly ["read", "write"]>;
116
+ readonly message: Schema.String;
117
+ }>], {
118
+ readonly _tag: "AttachmentPersistenceError";
119
+ readonly operation: "read" | "write";
120
+ readonly message: string;
121
+ }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
122
+ readonly operation: Schema.Literals<readonly ["read", "write"]>;
123
+ readonly message: Schema.String;
124
+ }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/v1/attachments", never, never, never, never, Schema.toCodecJson<typeof AttachmentList>, never, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"attach", "POST", "/v1/attachments", never, never, Schema.toCodecJson<typeof AttachRequest>, never, Schema.toCodecJson<typeof Attached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentAlreadyExpired, {
109
125
  readonly _tag: "AttachmentAlreadyExpired";
110
126
  readonly worker: string;
111
127
  readonly repository: string;
@@ -189,21 +205,5 @@ export declare const GatewayAdminApi: HttpApi.HttpApi<"GatewayAdminApi", HttpApi
189
205
  }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
190
206
  readonly operation: Schema.Literals<readonly ["read", "write"]>;
191
207
  readonly message: Schema.String;
192
- }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"detach", "DELETE", "/v1/attachments/:id", Schema.toCodecStringTree<Schema.Struct<{
193
- id: Schema.brand<Schema.String, "AttachmentId">;
194
- }>>, never, never, never, Schema.toCodecJson<typeof Detached>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<AttachmentPersistenceError, {
195
- readonly _tag: "AttachmentPersistenceError";
196
- readonly operation: "read" | "write";
197
- readonly message: string;
198
- }, readonly [Schema.TaggedStruct<"AttachmentPersistenceError", {
199
- readonly operation: Schema.Literals<readonly ["read", "write"]>;
200
- readonly message: Schema.String;
201
- }>], {
202
- readonly _tag: "AttachmentPersistenceError";
203
- readonly operation: "read" | "write";
204
- readonly message: string;
205
- }>, Schema.TaggedStruct<"AttachmentPersistenceError", {
206
- readonly operation: Schema.Literals<readonly ["read", "write"]>;
207
- readonly message: Schema.String;
208
- }>, never, never>>, AdminAuthorization, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/v1/attachments", never, never, never, never, Schema.toCodecJson<typeof AttachmentList>, never, AdminAuthorization, never>, false> | HttpApiGroup.HttpApiGroup<"llm", HttpApiEndpoint.HttpApiEndpoint<"providers", "GET", "/v1/providers", never, never, never, never, Schema.toCodecJson<typeof LlmProviderList>, never, AdminAuthorization, never>, false>>;
208
+ }>, never, never>>, AdminAuthorization, never>, false> | HttpApiGroup.HttpApiGroup<"llm", HttpApiEndpoint.HttpApiEndpoint<"providers", "GET", "/v1/providers", never, never, never, never, Schema.toCodecJson<typeof LlmProviderList>, never, AdminAuthorization, never>, false>>;
209
209
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/admin/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EACL,OAAO,EACP,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,UAAU,EACf,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAG3B,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;;IAItE,gDAAgD;;IAEhD,uEAAuE;;IAEvE,qFAAqF;;IAErF,qFAAqF;;;AARvF,mGAAmG;AACnG,qBAAa,aAAc,SAAQ,kBASjC;CAAG;;IAMH,sEAAsE;;IAEtE,+CAA+C;;IAE/C,+DAA+D;;IAE/D,8DAA8D;;IAE9D,0EAA0E;;;AAZ5E,uCAAuC;AACvC,qBAAa,iBAAkB,SAAQ,sBAarC;IACA,gGAAgG;IAChG,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,iBAAiB,CAQ/D;CACF;;IAOC,qEAAqE;;IAErE,sGAAsG;;;AAPxG;;;GAGG;AACH,qBAAa,QAAS,SAAQ,aAK5B;CAAG;;IAIH,oGAAoG;;;AAFtG,8EAA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ACnG,qBAAa,aAAc,SAAQ,kBASjC;CAAG;;IAMH,sEAAsE;;IAEtE,+CAA+C;;IAE/C,+DAA+D;;IAE/D,8DAA8D;;IAE9D,0EAA0E;;;AAZ5E,uCAAuC;AACvC,qBAAa,iBAAkB,SAAQ,sBAarC;IACA,gGAAgG;IAChG,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,iBAAiB,CAQ/D;CACF;;IAOC,qEAAqE;;IAErE,sGAAsG;;;AAPxG;;;GAGG;AACH,qBAAa,QAAS,SAAQ,aAK5B;CAAG;;IAIH,oGAAoG;;;AAFtG,8EAA8E;AAC9E,qBAAa,QAAS,SAAQ,aAG5B;CAAG;;IAIH,+EAA+E;;;AAFjF,mFAAmF;AACnF,qBAAa,cAAe,SAAQ,mBAGlC;CAAG;;IAMH,yEAAyE;;IAEzE,oEAAoE;;;AANtE,yGAAyG;AACzG,qBAAa,kBAAmB,SAAQ,uBAOtC;CAAG;;IASH,yFAAyF;;;AAP3F;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,oBAKnC;IACA,wGAAwG;IACxG,MAAM,CAAC,aAAa,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,YAAY,GAAG,eAAe,CAWzE;CACF;;;;;;;;;;;;;AAED;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,uBAGvC;CAAG;AAEJ;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iRAiC3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usine/gateway",
3
- "version": "0.2.1-next.326.g794dd6e.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "The usine gateway: a credential-injecting proxy for GitHub and LLM providers, and an egress allowlist, in front of Worker VMs.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@effect/platform-node": "4.0.6",
39
39
  "@effect/platform-node-shared": "4.0.6",
40
- "@usine/core": "0.5.1-next.326.g794dd6e.1.1"
40
+ "@usine/core": "0.6.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@effect/vitest": "4.0.6",