@zimtsui/brainswitch 0.0.1 → 0.0.3
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.
- package/README.md +98 -83
- package/build/adaptor.d.ts +1 -1
- package/build/adaptor.js +8 -8
- package/build/adaptor.js.map +1 -1
- package/build/agentloop.d.ts +1 -1
- package/build/agentloop.js +19 -21
- package/build/agentloop.js.map +1 -1
- package/build/api-types/base.d.ts +0 -2
- package/build/api-types/base.js +0 -2
- package/build/api-types/base.js.map +1 -1
- package/build/api-types/google-base.d.ts +15 -3
- package/build/api-types/google-base.js +33 -13
- package/build/api-types/google-base.js.map +1 -1
- package/build/api-types/google-rest.d.ts +13 -9
- package/build/api-types/google-rest.js +102 -89
- package/build/api-types/google-rest.js.map +1 -1
- package/build/api-types/huggingface-cerebras-qwen3-thinking.d.ts +9 -7
- package/build/api-types/huggingface-cerebras-qwen3-thinking.js +46 -41
- package/build/api-types/huggingface-cerebras-qwen3-thinking.js.map +1 -1
- package/build/api-types/openai-chatcompletions-base.d.ts +2 -6
- package/build/api-types/openai-chatcompletions-base.js +5 -12
- package/build/api-types/openai-chatcompletions-base.js.map +1 -1
- package/build/api-types/openai-chatcompletions-monolith-base.d.ts +1 -1
- package/build/api-types/openai-chatcompletions-monolith-base.js +12 -16
- package/build/api-types/openai-chatcompletions-monolith-base.js.map +1 -1
- package/build/api-types/openai-chatcompletions-stream-base.d.ts +1 -1
- package/build/api-types/openai-chatcompletions-stream-base.js +13 -16
- package/build/api-types/openai-chatcompletions-stream-base.js.map +1 -1
- package/build/api-types/openai-chatcompletions.d.ts +4 -2
- package/build/api-types/openai-chatcompletions.js +9 -4
- package/build/api-types/openai-chatcompletions.js.map +1 -1
- package/build/api-types/openai-responses.d.ts +35 -21
- package/build/api-types/openai-responses.js +211 -188
- package/build/api-types/openai-responses.js.map +1 -1
- package/build/api-types/openrouter-monolith.d.ts +8 -8
- package/build/api-types/openrouter-monolith.js +39 -44
- package/build/api-types/openrouter-monolith.js.map +1 -1
- package/build/api-types/openrouter-stream.d.ts +10 -10
- package/build/api-types/openrouter-stream.js +49 -54
- package/build/api-types/openrouter-stream.js.map +1 -1
- package/build/api-types/qwen.d.ts +5 -3
- package/build/api-types/qwen.js +11 -6
- package/build/api-types/qwen.js.map +1 -1
- package/build/config.js.map +1 -1
- package/build/endpoint-spec.js.map +1 -1
- package/build/engine.d.ts +1 -1
- package/build/engine.js +2 -2
- package/build/engine.js.map +1 -1
- package/build/function.d.ts +14 -2
- package/build/function.js +12 -0
- package/build/function.js.map +1 -1
- package/build/session.d.ts +105 -38
- package/build/session.js +212 -60
- package/build/session.js.map +1 -1
- package/build/throttle.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/build/test.d.ts +0 -1
- package/build/test.js +0 -23
- package/build/test.js.map +0 -1
package/package.json
CHANGED
package/build/test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/build/test.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Type } from '@sinclair/typebox';
|
|
2
|
-
import { Function } from '@zimtsui/brainswitch';
|
|
3
|
-
const fdm = {
|
|
4
|
-
foo: {
|
|
5
|
-
description: 'foo',
|
|
6
|
-
paraschema: Type.Object({
|
|
7
|
-
bar: Type.String(),
|
|
8
|
-
}),
|
|
9
|
-
},
|
|
10
|
-
bar: {
|
|
11
|
-
description: 'bar',
|
|
12
|
-
paraschema: Type.Object({
|
|
13
|
-
baz: Type.String(),
|
|
14
|
-
}),
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
const fd = {
|
|
18
|
-
name: 'foo',
|
|
19
|
-
paraschema: Type.Object({
|
|
20
|
-
bar: Type.String(),
|
|
21
|
-
}),
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=test.js.map
|
package/build/test.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIhD,MAAM,GAAG,GAAG;IACX,GAAG,EAAE;QACJ,WAAW,EAAE,KAAc;QAC3B,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;YACvB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;SAClB,CAAC;KACF;IACD,GAAG,EAAE;QACJ,WAAW,EAAE,KAAc;QAC3B,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;YACvB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;SAClB,CAAC;KACF;CACkC,CAAC;AAIrC,MAAM,EAAE,GAAQ;IACf,IAAI,EAAE,KAAK;IACX,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC;QACvB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;KAClB,CAAC;CACF,CAAC"}
|