@eduwork/dsh-oidc 0.1.0-alpha.11 → 0.1.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/CHANGELOG.en.md +18 -0
- package/CHANGELOG.md +18 -0
- package/CODE_OF_CONDUCT.en.md +17 -0
- package/CODE_OF_CONDUCT.md +17 -0
- package/CONTRIBUTING.en.md +56 -0
- package/CONTRIBUTING.md +56 -0
- package/GOVERNANCE.en.md +41 -0
- package/GOVERNANCE.md +41 -0
- package/MAINTAINERS.en.md +13 -0
- package/MAINTAINERS.md +13 -0
- package/README.en.md +6 -6
- package/README.md +5 -5
- package/SECURITY.en.md +45 -0
- package/SECURITY.md +45 -0
- package/SUPPORT.en.md +15 -0
- package/SUPPORT.md +15 -0
- package/THIRD_PARTY_NOTICES.en.md +3 -3
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/docs/EDUWORK-MIGRATION.en.md +3 -3
- package/docs/EDUWORK-MIGRATION.md +3 -3
- package/docs/compatibility.en.md +3 -2
- package/docs/compatibility.md +3 -2
- package/docs/decisions/0001-one-plugin-composition-boundary.en.md +1 -1
- package/docs/decisions/0001-one-plugin-composition-boundary.md +1 -1
- package/docs/dsh-integration.en.md +3 -3
- package/docs/dsh-integration.md +3 -3
- package/docs/enterprise-profile.en.md +2 -2
- package/docs/enterprise-profile.md +2 -2
- package/docs/getting-started.en.md +4 -8
- package/docs/getting-started.md +4 -8
- package/docs/release-checklist.en.md +9 -6
- package/docs/release-checklist.md +9 -6
- package/lib/client.js +4 -0
- package/lib/profile.js +43 -15
- package/lib/provider/index.js +21 -2
- package/lib/provider/transform-adapter.js +1 -1
- package/package.json +43 -20
- package/schema/enterprise-profile.v1alpha1.schema.json +18 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eduwork/dsh-oidc",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Standards-based OIDC identity, enterprise API-key binding, declarative branding, and OpenAI-compatible model integration for DeepSeek Harness",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -33,6 +33,18 @@
|
|
|
33
33
|
"protocol/openapi.yaml",
|
|
34
34
|
"README.md",
|
|
35
35
|
"README.en.md",
|
|
36
|
+
"CODE_OF_CONDUCT.md",
|
|
37
|
+
"CODE_OF_CONDUCT.en.md",
|
|
38
|
+
"CONTRIBUTING.md",
|
|
39
|
+
"CONTRIBUTING.en.md",
|
|
40
|
+
"GOVERNANCE.md",
|
|
41
|
+
"GOVERNANCE.en.md",
|
|
42
|
+
"MAINTAINERS.md",
|
|
43
|
+
"MAINTAINERS.en.md",
|
|
44
|
+
"SECURITY.md",
|
|
45
|
+
"SECURITY.en.md",
|
|
46
|
+
"SUPPORT.md",
|
|
47
|
+
"SUPPORT.en.md",
|
|
36
48
|
"LICENSE",
|
|
37
49
|
"THIRD_PARTY_NOTICES.md",
|
|
38
50
|
"THIRD_PARTY_NOTICES.en.md",
|
|
@@ -49,6 +61,7 @@
|
|
|
49
61
|
"@deepseek-ai/dsh-api-remotes",
|
|
50
62
|
"@deepseek-ai/dsh-client-ui-conversation",
|
|
51
63
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-settings-general",
|
|
52
65
|
"@deepseek-ai/dsh-client-ui-settings-models",
|
|
53
66
|
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
54
67
|
"@deepseek-ai/dsh-client-ui-theme"
|
|
@@ -62,22 +75,22 @@
|
|
|
62
75
|
"build:client": "tsdown",
|
|
63
76
|
"build": "npm run build:host && npm run build:client",
|
|
64
77
|
"typecheck": "tsc --noEmit",
|
|
65
|
-
"test": "node --test",
|
|
66
|
-
"test:coverage": "node --test --experimental-test-coverage",
|
|
78
|
+
"test": "node --test \"test/*.test.js\"",
|
|
79
|
+
"test:coverage": "node --test --experimental-test-coverage \"test/*.test.js\"",
|
|
67
80
|
"check:schemas": "node scripts/check-schemas.mjs",
|
|
68
81
|
"check:secrets": "node scripts/check-secrets.mjs",
|
|
69
82
|
"check:licenses": "node scripts/check-licenses.mjs",
|
|
70
83
|
"check:docs": "node scripts/check-doc-links.mjs",
|
|
84
|
+
"check:dsh": "node scripts/check-dsh-rc1.mjs",
|
|
71
85
|
"check:build": "node scripts/smoke-build.mjs",
|
|
72
|
-
"check": "npm run typecheck && npm run build && npm run check:build && npm test && npm run check:schemas && npm run check:docs && npm run check:secrets && npm run check:licenses && npm pack --dry-run",
|
|
86
|
+
"check": "npm run typecheck && npm run check:dsh && npm run build && npm run check:build && npm test && npm run check:schemas && npm run check:docs && npm run check:secrets && npm run check:licenses && npm pack --dry-run",
|
|
73
87
|
"prepare": "npm run build"
|
|
74
88
|
},
|
|
75
89
|
"engines": {
|
|
76
90
|
"node": ">=22.0.0"
|
|
77
91
|
},
|
|
78
92
|
"publishConfig": {
|
|
79
|
-
"access": "public"
|
|
80
|
-
"provenance": true
|
|
93
|
+
"access": "public"
|
|
81
94
|
},
|
|
82
95
|
"repository": {
|
|
83
96
|
"type": "git",
|
|
@@ -93,20 +106,30 @@
|
|
|
93
106
|
},
|
|
94
107
|
"peerDependencies": {
|
|
95
108
|
"@deepseek-ai/cordis": "4.0.2",
|
|
96
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.2-
|
|
97
|
-
"@deepseek-ai/dsh-
|
|
98
|
-
"@deepseek-ai/dsh-
|
|
99
|
-
"@deepseek-ai/dsh-
|
|
100
|
-
"@deepseek-ai/dsh-client-ui-
|
|
101
|
-
"@deepseek-ai/dsh-client-ui-
|
|
102
|
-
"@deepseek-ai/dsh-client-ui-
|
|
103
|
-
"@deepseek-ai/dsh-
|
|
104
|
-
"@deepseek-ai/dsh-
|
|
105
|
-
"@deepseek-ai/dsh-
|
|
106
|
-
"@deepseek-ai/dsh-
|
|
107
|
-
"@deepseek-ai/dsh-
|
|
108
|
-
"@deepseek-ai/dsh-
|
|
109
|
-
"@deepseek-ai/dsh-
|
|
109
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.2-rc.1",
|
|
110
|
+
"@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
|
|
111
|
+
"@deepseek-ai/dsh-authorization": "0.1.2-rc.1",
|
|
112
|
+
"@deepseek-ai/dsh-brand": "0.1.2-rc.1",
|
|
113
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.2-rc.1",
|
|
114
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1",
|
|
115
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.2-rc.1",
|
|
116
|
+
"@deepseek-ai/dsh-client-ui-settings-general": "0.1.2-rc.1",
|
|
117
|
+
"@deepseek-ai/dsh-client-ui-settings-models": "0.1.2-rc.1",
|
|
118
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.1.2-rc.1",
|
|
119
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.1.2-rc.1",
|
|
120
|
+
"@deepseek-ai/dsh-credentials": "0.1.2-rc.1",
|
|
121
|
+
"@deepseek-ai/dsh-fs": "0.1.2-rc.1",
|
|
122
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.2-rc.1",
|
|
123
|
+
"@deepseek-ai/dsh-invariants": "0.1.2-rc.1",
|
|
124
|
+
"@deepseek-ai/dsh-launch-environment": "0.1.2-rc.1",
|
|
125
|
+
"@deepseek-ai/dsh-llm": "0.1.2-rc.1",
|
|
126
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.1.2-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-sandbox": "0.1.2-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-scope": "0.1.2-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-session": "0.1.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-settings": "0.1.2-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-timeout": "0.1.2-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.2-rc.1",
|
|
110
133
|
"@earendil-works/pi-ai": "^0.84.2",
|
|
111
134
|
"react": "^18.2.0"
|
|
112
135
|
},
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"supportsStore": { "type": "boolean" },
|
|
104
104
|
"supportsReasoningEffort": { "type": "boolean" },
|
|
105
105
|
"supportsUsageInStreaming": { "type": "boolean" },
|
|
106
|
-
"maxTokensField": { "
|
|
106
|
+
"maxTokensField": { "enum": ["max_completion_tokens", "max_tokens"] },
|
|
107
107
|
"supportsStrictMode": { "type": "boolean" },
|
|
108
108
|
"supportsLongCacheRetention": { "type": "boolean" },
|
|
109
|
-
"thinkingFormat": { "
|
|
109
|
+
"thinkingFormat": { "enum": ["openai", "deepseek", "openrouter", "together", "baseten", "zai", "qwen", "chat-template", "qwen-chat-template", "string-thinking", "ant-ling"] },
|
|
110
110
|
"requiresReasoningContentOnAssistantMessages": { "type": "boolean" }
|
|
111
111
|
}
|
|
112
112
|
},
|
|
@@ -143,7 +143,21 @@
|
|
|
143
143
|
"reasoningEfforts": {
|
|
144
144
|
"oneOf": [
|
|
145
145
|
{ "const": false },
|
|
146
|
-
{
|
|
146
|
+
{
|
|
147
|
+
"type": "object",
|
|
148
|
+
"minProperties": 1,
|
|
149
|
+
"maxProperties": 7,
|
|
150
|
+
"additionalProperties": false,
|
|
151
|
+
"properties": {
|
|
152
|
+
"off": { "type": ["string", "null"], "minLength": 1, "maxLength": 32 },
|
|
153
|
+
"minimal": { "type": "string", "minLength": 1, "maxLength": 32 },
|
|
154
|
+
"low": { "type": "string", "minLength": 1, "maxLength": 32 },
|
|
155
|
+
"medium": { "type": "string", "minLength": 1, "maxLength": 32 },
|
|
156
|
+
"high": { "type": "string", "minLength": 1, "maxLength": 32 },
|
|
157
|
+
"xhigh": { "type": "string", "minLength": 1, "maxLength": 32 },
|
|
158
|
+
"max": { "type": "string", "minLength": 1, "maxLength": 32 }
|
|
159
|
+
}
|
|
160
|
+
}
|
|
147
161
|
]
|
|
148
162
|
},
|
|
149
163
|
"compat": { "$ref": "#/$defs/compat" }
|
|
@@ -158,7 +172,7 @@
|
|
|
158
172
|
"displayName": { "$ref": "#/$defs/nonEmpty120" },
|
|
159
173
|
"adapter": { "const": "openai-compatible" },
|
|
160
174
|
"baseURL": { "$ref": "#/$defs/endpointURL" },
|
|
161
|
-
"reasoning": { "
|
|
175
|
+
"reasoning": { "enum": ["off", "minimal", "low", "medium", "high", "xhigh", "max"] },
|
|
162
176
|
"defaultContextWindow": { "$ref": "#/$defs/positiveInteger" },
|
|
163
177
|
"defaultMaxTokens": { "$ref": "#/$defs/positiveInteger" },
|
|
164
178
|
"maxRequestImageBytes": { "$ref": "#/$defs/positiveInteger" },
|