@felan-ai/ext-discretestack 0.1.0 → 0.2.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.
- package/README.md +35 -7
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +49 -2
- package/dist/index.js.map +1 -1
- package/dist/provider.d.ts +8 -35
- package/dist/provider.d.ts.map +1 -1
- package/dist/provider.js +29 -24
- package/dist/provider.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# DiscreteStack for Felan
|
|
2
2
|
|
|
3
|
-
This extension registers the
|
|
4
|
-
|
|
3
|
+
This extension registers the DiscreteStack provider. It sends requests to the
|
|
4
|
+
OpenAI-compatible `/chat/completions` endpoint that matches the API key.
|
|
5
5
|
|
|
6
6
|
## Models
|
|
7
7
|
|
|
@@ -9,17 +9,18 @@ Prices are in USD per million tokens.
|
|
|
9
9
|
|
|
10
10
|
| Model | Input | Output | Cache read | Cache write |
|
|
11
11
|
| --- | ---: | ---: | ---: | ---: |
|
|
12
|
-
| DiscreteStack Max (`
|
|
13
|
-
| DiscreteStack Compact (`
|
|
12
|
+
| DiscreteStack Max (`discretestack-max`) | $0.07 | $0.18 | $0.002 | $0 |
|
|
13
|
+
| DiscreteStack Compact (`discretestack-compact`) | $0.05 | $0.20 | $0.015 | $0 |
|
|
14
14
|
|
|
15
15
|
Both models accept text and images. Their supported thinking levels are `off`,
|
|
16
16
|
`minimal`, `low`, `high`, and `max`. The gateway has no minimal effort, so
|
|
17
17
|
`minimal` sends no reasoning, the same as `off`.
|
|
18
18
|
|
|
19
19
|
The gateway rejects a request when its prompt plus `max_tokens` exceeds
|
|
20
|
-
1,048,576 tokens
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
1,048,576 tokens, and the personal-key endpoint rejects `max_tokens` above
|
|
21
|
+
64,000. Each model therefore reports a 64,000-token output limit and a
|
|
22
|
+
984,576-token context window, so sessions compact before a request can exceed
|
|
23
|
+
either limit.
|
|
23
24
|
|
|
24
25
|
## Configuration
|
|
25
26
|
|
|
@@ -27,5 +28,32 @@ Run `/login`, select **DiscreteStack**, and enter your API key. For environments
|
|
|
27
28
|
where interactive login is not available, set `DISCRETESTACK_API_KEY`. A saved
|
|
28
29
|
login takes precedence over the environment variable.
|
|
29
30
|
|
|
31
|
+
DiscreteStack issues two kinds of keys, each for its own endpoint:
|
|
32
|
+
|
|
33
|
+
| Key type | `DISCRETESTACK_KEY_TYPE` | Endpoint |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| Personal key | `user` or unset | `https://api.discretestack.eu/v1` |
|
|
36
|
+
| Provider channel key, used for Felan-managed access | `provider` | `https://api.discretestack.eu/provider/v1` |
|
|
37
|
+
|
|
38
|
+
The key type is read from the same place as the key:
|
|
39
|
+
|
|
40
|
+
- A saved credential uses its own `env.DISCRETESTACK_KEY_TYPE`. `/login` saves
|
|
41
|
+
personal keys, so it never sets this value. A provider channel credential is
|
|
42
|
+
stored as
|
|
43
|
+
`{ "type": "api_key", "key": "...", "env": { "DISCRETESTACK_KEY_TYPE": "provider" } }`.
|
|
44
|
+
- An environment key uses the `DISCRETESTACK_KEY_TYPE` environment variable.
|
|
45
|
+
|
|
46
|
+
A saved personal key therefore stays on the personal endpoint even when the
|
|
47
|
+
environment sets `DISCRETESTACK_KEY_TYPE=provider`. Any value other than `user`
|
|
48
|
+
or `provider` fails the request with an error that names the variable.
|
|
49
|
+
|
|
30
50
|
When retries are enabled, Pi retries HTTP 429 responses under load through its
|
|
31
51
|
normal session retry policy.
|
|
52
|
+
|
|
53
|
+
## Exports
|
|
54
|
+
|
|
55
|
+
`@felan-ai/ext-discretestack` exports the extension and
|
|
56
|
+
`createDiscreteStackProvider()`, the native Pi provider it registers.
|
|
57
|
+
`@felan-ai/ext-discretestack/provider` exports the provider id and name, the
|
|
58
|
+
model list, the endpoint URLs, and the environment variable names, with no
|
|
59
|
+
runtime imports.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ExtensionFactory, type Provider } from '@felan-ai/agent-core';
|
|
2
|
+
export declare function createDiscreteStackProvider(): Provider;
|
|
2
3
|
export declare function createDiscreteStackExtension(): ExtensionFactory;
|
|
3
4
|
declare const _default: ExtensionFactory;
|
|
4
5
|
export default _default;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,KAAK,gBAAgB,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AA+CnI,wBAAgB,2BAA2B,IAAI,QAAQ,CAQtD;AAED,wBAAgB,4BAA4B,IAAI,gBAAgB,CAI/D;;AAED,wBAA8C"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createProvider, openAICompletionsApi } from '@felan-ai/agent-core';
|
|
2
|
+
import { DISCRETESTACK_API_KEY_ENV, DISCRETESTACK_BASE_URLS, DISCRETESTACK_KEY_TYPE_ENV, DISCRETESTACK_MODELS, DISCRETESTACK_PROVIDER_ID, DISCRETESTACK_PROVIDER_NAME, } from './provider.js';
|
|
3
|
+
const STORED_SOURCE = 'stored credential';
|
|
4
|
+
function keyType(value) {
|
|
5
|
+
if (!value || value === 'user')
|
|
6
|
+
return 'user';
|
|
7
|
+
if (value === 'provider')
|
|
8
|
+
return 'provider';
|
|
9
|
+
throw new Error(`${DISCRETESTACK_KEY_TYPE_ENV} must be "user" or "provider".`);
|
|
10
|
+
}
|
|
11
|
+
// The key type is read from the same source as the key. A stored personal key therefore never
|
|
12
|
+
// reaches the provider channel because of an unrelated environment variable.
|
|
13
|
+
const apiKeyAuth = {
|
|
14
|
+
name: 'DiscreteStack API key',
|
|
15
|
+
login: async (interaction) => ({
|
|
16
|
+
type: 'api_key',
|
|
17
|
+
key: await interaction.prompt({ type: 'secret', message: 'Enter your DiscreteStack API key' }),
|
|
18
|
+
}),
|
|
19
|
+
// Availability checks run for every provider at once, so an invalid key type must not throw here.
|
|
20
|
+
// resolve() reports it when a request is made.
|
|
21
|
+
check: async ({ ctx, credential }) => {
|
|
22
|
+
if (credential)
|
|
23
|
+
return credential.key ? { type: 'api_key', source: STORED_SOURCE } : undefined;
|
|
24
|
+
return await ctx.env(DISCRETESTACK_API_KEY_ENV) ? { type: 'api_key', source: DISCRETESTACK_API_KEY_ENV } : undefined;
|
|
25
|
+
},
|
|
26
|
+
resolve: async ({ ctx, credential }) => {
|
|
27
|
+
const key = credential ? credential.key : await ctx.env(DISCRETESTACK_API_KEY_ENV);
|
|
28
|
+
if (!key)
|
|
29
|
+
return undefined;
|
|
30
|
+
const type = keyType(credential ? credential.env?.[DISCRETESTACK_KEY_TYPE_ENV] : await ctx.env(DISCRETESTACK_KEY_TYPE_ENV));
|
|
31
|
+
return {
|
|
32
|
+
auth: { apiKey: key, baseUrl: DISCRETESTACK_BASE_URLS[type] },
|
|
33
|
+
// Callers that pass a resolved key back as a request apiKey reach resolve() again with this
|
|
34
|
+
// env as the credential env, which keeps the managed key on the provider channel.
|
|
35
|
+
env: { [DISCRETESTACK_KEY_TYPE_ENV]: type },
|
|
36
|
+
source: credential ? STORED_SOURCE : DISCRETESTACK_API_KEY_ENV,
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
export function createDiscreteStackProvider() {
|
|
41
|
+
return createProvider({
|
|
42
|
+
id: DISCRETESTACK_PROVIDER_ID,
|
|
43
|
+
name: DISCRETESTACK_PROVIDER_NAME,
|
|
44
|
+
auth: { apiKey: apiKeyAuth },
|
|
45
|
+
models: DISCRETESTACK_MODELS,
|
|
46
|
+
api: openAICompletionsApi(),
|
|
47
|
+
});
|
|
48
|
+
}
|
|
2
49
|
export function createDiscreteStackExtension() {
|
|
3
50
|
return (pi) => {
|
|
4
|
-
pi.registerProvider(
|
|
51
|
+
pi.registerProvider(createDiscreteStackProvider());
|
|
5
52
|
};
|
|
6
53
|
}
|
|
7
54
|
export default createDiscreteStackExtension();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAyD,MAAM,sBAAsB,CAAC;AACnI,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,GAE5B,MAAM,eAAe,CAAC;AAEvB,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAE1C,SAAS,OAAO,CAAC,KAAyB;IACxC,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK,MAAM;QAAE,OAAO,MAAM,CAAC;IAC9C,IAAI,KAAK,KAAK,UAAU;QAAE,OAAO,UAAU,CAAC;IAC5C,MAAM,IAAI,KAAK,CAAC,GAAG,0BAA0B,gCAAgC,CAAC,CAAC;AACjF,CAAC;AAED,8FAA8F;AAC9F,6EAA6E;AAC7E,MAAM,UAAU,GAAe;IAC7B,IAAI,EAAE,uBAAuB;IAC7B,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC;QAC7B,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,MAAM,WAAW,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;KAC/F,CAAC;IACF,kGAAkG;IAClG,+CAA+C;IAC/C,KAAK,EAAE,KAAK,EAAE,EAAE,GA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MAAM,EAAE,UAAU,EAAE;QAC5B,MAAM,EAAE,oBAAoB;QAC5B,GAAG,EAAE,oBAAoB,EAAE;KAC5B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,4BAA4B;IAC1C,OAAO,CAAC,EAAE,EAAE,EAAE;QACZ,EAAE,CAAC,gBAAgB,CAAC,2BAA2B,EAAE,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC;AAED,eAAe,4BAA4B,EAAE,CAAC"}
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,39 +1,12 @@
|
|
|
1
|
+
import type { Model } from '@felan-ai/agent-core';
|
|
1
2
|
export declare const DISCRETESTACK_PROVIDER_ID = "discretestack";
|
|
3
|
+
export declare const DISCRETESTACK_PROVIDER_NAME = "DiscreteStack";
|
|
2
4
|
export declare const DISCRETESTACK_API_KEY_ENV = "DISCRETESTACK_API_KEY";
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
apiKey: string;
|
|
8
|
-
models: {
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
cost: {
|
|
12
|
-
input: number;
|
|
13
|
-
output: number;
|
|
14
|
-
cacheRead: number;
|
|
15
|
-
cacheWrite: number;
|
|
16
|
-
};
|
|
17
|
-
type: "chat";
|
|
18
|
-
reasoning: true;
|
|
19
|
-
input: ("image" | "text")[];
|
|
20
|
-
contextWindow: number;
|
|
21
|
-
maxTokens: number;
|
|
22
|
-
thinkingLevelMap: {
|
|
23
|
-
off: string;
|
|
24
|
-
minimal: string;
|
|
25
|
-
low: string;
|
|
26
|
-
medium: null;
|
|
27
|
-
high: string;
|
|
28
|
-
xhigh: null;
|
|
29
|
-
max: string;
|
|
30
|
-
};
|
|
31
|
-
compat: {
|
|
32
|
-
supportsStore: false;
|
|
33
|
-
supportsDeveloperRole: false;
|
|
34
|
-
supportsReasoningEffort: true;
|
|
35
|
-
maxTokensField: "max_tokens";
|
|
36
|
-
};
|
|
37
|
-
}[];
|
|
5
|
+
export declare const DISCRETESTACK_KEY_TYPE_ENV = "DISCRETESTACK_KEY_TYPE";
|
|
6
|
+
export declare const DISCRETESTACK_BASE_URLS: {
|
|
7
|
+
readonly user: "https://api.discretestack.eu/v1";
|
|
8
|
+
readonly provider: "https://api.discretestack.eu/provider/v1";
|
|
38
9
|
};
|
|
10
|
+
export type DiscreteStackKeyType = keyof typeof DISCRETESTACK_BASE_URLS;
|
|
11
|
+
export declare const DISCRETESTACK_MODELS: readonly Model<'openai-completions'>[];
|
|
39
12
|
//# sourceMappingURL=provider.d.ts.map
|
package/dist/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,2BAA2B,kBAAkB,CAAC;AAC3D,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,0BAA0B,2BAA2B,CAAC;AAInE,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,uBAAuB,CAAC;AA8BxE,eAAO,MAAM,oBAAoB,EAAE,SAAS,KAAK,CAAC,oBAAoB,CAAC,EAatE,CAAC"}
|
package/dist/provider.js
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
export const DISCRETESTACK_PROVIDER_ID = 'discretestack';
|
|
2
|
+
export const DISCRETESTACK_PROVIDER_NAME = 'DiscreteStack';
|
|
2
3
|
export const DISCRETESTACK_API_KEY_ENV = 'DISCRETESTACK_API_KEY';
|
|
4
|
+
export const DISCRETESTACK_KEY_TYPE_ENV = 'DISCRETESTACK_KEY_TYPE';
|
|
5
|
+
// Personal keys use the public API. The provider channel serves Felan's managed key, which is
|
|
6
|
+
// marked with DISCRETESTACK_KEY_TYPE=provider.
|
|
7
|
+
export const DISCRETESTACK_BASE_URLS = {
|
|
8
|
+
user: 'https://api.discretestack.eu/v1',
|
|
9
|
+
provider: 'https://api.discretestack.eu/provider/v1',
|
|
10
|
+
};
|
|
3
11
|
// The gateway rejects a request whose prompt plus max_tokens exceeds 1,048,576 tokens instead of
|
|
4
|
-
// clamping the output
|
|
5
|
-
//
|
|
12
|
+
// clamping the output, and the personal-key endpoint also rejects max_tokens above 64,000. Pi sends
|
|
13
|
+
// maxTokens on every request and compacts against contextWindow, so the advertised window leaves
|
|
14
|
+
// room for a full response.
|
|
6
15
|
const GATEWAY_CONTEXT_TOKENS = 1_048_576;
|
|
7
|
-
const MAX_OUTPUT_TOKENS =
|
|
16
|
+
const MAX_OUTPUT_TOKENS = 64_000;
|
|
8
17
|
// Small budgeted requests such as session titles ask for minimal reasoning. The gateway has no
|
|
9
18
|
// minimal effort, and Pi would otherwise round it up to low, which DeepSeek can spend entirely on
|
|
10
19
|
// reasoning before writing any text.
|
|
11
20
|
const chatModel = {
|
|
12
|
-
|
|
21
|
+
api: 'openai-completions',
|
|
22
|
+
provider: DISCRETESTACK_PROVIDER_ID,
|
|
23
|
+
baseUrl: DISCRETESTACK_BASE_URLS.user,
|
|
13
24
|
reasoning: true,
|
|
14
25
|
input: ['text', 'image'],
|
|
15
26
|
contextWindow: GATEWAY_CONTEXT_TOKENS - MAX_OUTPUT_TOKENS,
|
|
@@ -22,24 +33,18 @@ const chatModel = {
|
|
|
22
33
|
maxTokensField: 'max_tokens',
|
|
23
34
|
},
|
|
24
35
|
};
|
|
25
|
-
export const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
id: 'glm-5.3-flash',
|
|
40
|
-
name: 'DiscreteStack Compact',
|
|
41
|
-
cost: { input: 0.05, output: 0.2, cacheRead: 0.015, cacheWrite: 0 },
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
};
|
|
36
|
+
export const DISCRETESTACK_MODELS = [
|
|
37
|
+
{
|
|
38
|
+
...chatModel,
|
|
39
|
+
id: 'discretestack-max',
|
|
40
|
+
name: 'DiscreteStack Max',
|
|
41
|
+
cost: { input: 0.07, output: 0.18, cacheRead: 0.002, cacheWrite: 0 },
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
...chatModel,
|
|
45
|
+
id: 'discretestack-compact',
|
|
46
|
+
name: 'DiscreteStack Compact',
|
|
47
|
+
cost: { input: 0.05, output: 0.2, cacheRead: 0.015, cacheWrite: 0 },
|
|
48
|
+
},
|
|
49
|
+
];
|
|
45
50
|
//# sourceMappingURL=provider.js.map
|
package/dist/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,yBAAyB,GAAG,eAAe,CAAC;AACzD,MAAM,CAAC,MAAM,2BAA2B,GAAG,eAAe,CAAC;AAC3D,MAAM,CAAC,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;AACjE,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,8FAA8F;AAC9F,+CAA+C;AAC/C,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE,iCAAiC;IACvC,QAAQ,EAAE,0CAA0C;CAC5C,CAAC;AAIX,iGAAiG;AACjG,oGAAoG;AACpG,iGAAiG;AACjG,4BAA4B;AAC5B,MAAM,sBAAsB,GAAG,SAAS,CAAC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
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "DiscreteStack LLM provider for Felan",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@felan-ai/agent-core": "^0.16.
|
|
32
|
+
"@felan-ai/agent-core": "^0.16.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@felan-ai/agent-core": "0.16.
|
|
35
|
+
"@felan-ai/agent-core": "0.16.3"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public",
|