arcane-os 0.1.0-dev.5
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.md +154 -0
- package/COMMERCIAL-LICENSE.md +13 -0
- package/LICENSE +661 -0
- package/NOTICE +70 -0
- package/README.md +448 -0
- package/bin/arcane-test.mjs +741 -0
- package/bin/arcane.mjs +5 -0
- package/docs/architecture.md +234 -0
- package/docs/compatibility.md +36 -0
- package/docs/event-manager.md +166 -0
- package/docs/platform-targets.md +108 -0
- package/docs/publishing.md +203 -0
- package/docs/reference/README.md +117 -0
- package/docs/reference/arcane-ollama.md +288 -0
- package/docs/reference/availability-and-normalization.md +123 -0
- package/docs/reference/behavioral-testing.md +86 -0
- package/docs/reference/cli.md +569 -0
- package/docs/reference/core/README.md +62 -0
- package/docs/reference/core/arcane-ai-contracts.md +873 -0
- package/docs/reference/core/arcane-api.md +601 -0
- package/docs/reference/core/arcane-entities.md +65 -0
- package/docs/reference/core/arcane-events.md +134 -0
- package/docs/reference/core/ollama-module.md +181 -0
- package/docs/reference/core/reference/arcane-api/ai-and-ollama.md +1909 -0
- package/docs/reference/core/reference/arcane-api/applications-terminal-capabilities.md +1057 -0
- package/docs/reference/core/reference/arcane-api/core-and-events.md +320 -0
- package/docs/reference/core/reference/arcane-api/filesystem-storage-preferences-appearance.md +610 -0
- package/docs/reference/core/reference/arcane-api/namespaces.md +1157 -0
- package/docs/reference/core/reference/arcane-api/platform-installation-users-system.md +1423 -0
- package/docs/reference/core/reference/arcane-api/session-provisioning-diagnostics-development.md +315 -0
- package/docs/reference/event-manager.md +957 -0
- package/docs/reference/inventory/package-api.json +2632 -0
- package/docs/reference/inventory/runtime-components.json +934 -0
- package/docs/reference/inventory/runtime-entities.json +26 -0
- package/docs/reference/inventory/runtime-modules.json +1249 -0
- package/docs/reference/protocols.md +242 -0
- package/docs/reference/runtime-components.md +1098 -0
- package/docs/reference/runtime-entities.md +303 -0
- package/docs/reference/runtime-modules.md +2010 -0
- package/docs/reference/sdk-api.md +4901 -0
- package/docs/roadmap.md +79 -0
- package/docs/work-amplification.md +124 -0
- package/node_modules/event-pubsub/CHANGELOG.md +55 -0
- package/node_modules/event-pubsub/MIGRATION.md +70 -0
- package/node_modules/event-pubsub/README.md +363 -0
- package/node_modules/event-pubsub/SECURITY.md +37 -0
- package/node_modules/event-pubsub/index.js +141 -0
- package/node_modules/event-pubsub/licence +21 -0
- package/node_modules/event-pubsub/package.json +59 -0
- package/node_modules/strong-type/README.md +408 -0
- package/node_modules/strong-type/assets/strong-type-header.png +0 -0
- package/node_modules/strong-type/index.js +1151 -0
- package/node_modules/strong-type/licence +21 -0
- package/node_modules/strong-type/node.js +125 -0
- package/node_modules/strong-type/package.json +61 -0
- package/package.json +95 -0
- package/runtime/ARCANE_RUNTIME_RELEASE.json +791 -0
- package/runtime/arcane/components/app-bar.html +468 -0
- package/runtime/arcane/components/assistant-panel.html +715 -0
- package/runtime/arcane/components/calculator.html +8 -0
- package/runtime/arcane/components/chart.html +655 -0
- package/runtime/arcane/components/chat.html +1225 -0
- package/runtime/arcane/components/conversation-view.html +13 -0
- package/runtime/arcane/components/dashboard-config.html +341 -0
- package/runtime/arcane/components/data-maintenance.html +112 -0
- package/runtime/arcane/components/data-view.html +92 -0
- package/runtime/arcane/components/directory-picker.html +197 -0
- package/runtime/arcane/components/document-inspector.html +252 -0
- package/runtime/arcane/components/file-drop.html +264 -0
- package/runtime/arcane/components/file-inspector.html +293 -0
- package/runtime/arcane/components/file-manager.html +1715 -0
- package/runtime/arcane/components/header.html +142 -0
- package/runtime/arcane/components/integration-settings.html +14 -0
- package/runtime/arcane/components/local-ai-status.html +360 -0
- package/runtime/arcane/components/markdown-document.html +1048 -0
- package/runtime/arcane/components/markdown-editor.html +360 -0
- package/runtime/arcane/components/media-embed.html +8 -0
- package/runtime/arcane/components/modal.html +402 -0
- package/runtime/arcane/components/output-panel.html +259 -0
- package/runtime/arcane/components/preferences-form.html +135 -0
- package/runtime/arcane/components/record-timeline.html +105 -0
- package/runtime/arcane/components/relationship-board.html +116 -0
- package/runtime/arcane/components/screen-capture.html +8 -0
- package/runtime/arcane/components/source-code-viewer.html +441 -0
- package/runtime/arcane/components/source-explanation.html +124 -0
- package/runtime/arcane/components/speech.html +365 -0
- package/runtime/arcane/components/summary-strip.html +177 -0
- package/runtime/arcane/components/table.html +77 -0
- package/runtime/arcane/components/task-progress.html +282 -0
- package/runtime/arcane/components/terminal-workspace.html +65 -0
- package/runtime/arcane/components/theme-editor.html +41 -0
- package/runtime/arcane/components/theme-switcher.html +46 -0
- package/runtime/arcane/components/unified-inbox.html +20 -0
- package/runtime/arcane/components/voice-transcription.html +476 -0
- package/runtime/arcane/components/weather-widget.html +8 -0
- package/runtime/arcane/components/web-navigator.html +239 -0
- package/runtime/arcane/css/communications.css +1 -0
- package/runtime/arcane/css/dashboard-config.css +45 -0
- package/runtime/arcane/css/document-site.css +981 -0
- package/runtime/arcane/css/layout.css +438 -0
- package/runtime/arcane/css/primitives.css +321 -0
- package/runtime/arcane/css/theme.css +112 -0
- package/runtime/arcane/css/utility-workspace.css +1 -0
- package/runtime/arcane/entities/ApiModelRecord.js +20 -0
- package/runtime/arcane/entities/Calculation.js +13 -0
- package/runtime/arcane/entities/Chat.js +581 -0
- package/runtime/arcane/entities/CommunicationMessage.js +29 -0
- package/runtime/arcane/entities/CommunicationThread.js +21 -0
- package/runtime/arcane/entities/Document.js +10 -0
- package/runtime/arcane/entities/File.js +143 -0
- package/runtime/arcane/entities/Image.js +135 -0
- package/runtime/arcane/entities/IntentEnvelope.js +834 -0
- package/runtime/arcane/entities/Preference.js +83 -0
- package/runtime/arcane/entities/TWiNPolicyDecision.js +1092 -0
- package/runtime/arcane/entities/TerminalSession.js +46 -0
- package/runtime/arcane/entities/Theme.js +107 -0
- package/runtime/arcane/entities/User.js +1046 -0
- package/runtime/arcane/entities/Weather.js +23 -0
- package/runtime/arcane/img/arcane-os-everywhere.png +0 -0
- package/runtime/arcane/img/arrow-left.png +0 -0
- package/runtime/arcane/img/arrow-right.png +0 -0
- package/runtime/arcane/img/doc.svg +5 -0
- package/runtime/arcane/img/folder.svg +4 -0
- package/runtime/arcane/img/image.svg +5 -0
- package/runtime/arcane/img/refresh.png +0 -0
- package/runtime/arcane/img/send.svg +9 -0
- package/runtime/arcane/img/trash.svg +5 -0
- package/runtime/arcane/img/upload.svg +5 -0
- package/runtime/arcane/modules/AI.js +2048 -0
- package/runtime/arcane/modules/AIPreferenceRuntime.js +32 -0
- package/runtime/arcane/modules/AIPreferenceTuple.js +92 -0
- package/runtime/arcane/modules/AIResponseLength.js +42 -0
- package/runtime/arcane/modules/AIResponseURLPolicy.js +626 -0
- package/runtime/arcane/modules/AnsiText.js +53 -0
- package/runtime/arcane/modules/ApiModelDatabase.js +25 -0
- package/runtime/arcane/modules/AppDataScope.js +245 -0
- package/runtime/arcane/modules/AppearancePreferences.js +28 -0
- package/runtime/arcane/modules/ArcaneCommunicationBridge.js +22 -0
- package/runtime/arcane/modules/ArcaneNavigationPolicy.js +135 -0
- package/runtime/arcane/modules/ArcaneNetworkPolicy.js +255 -0
- package/runtime/arcane/modules/AsyncBoundary.js +161 -0
- package/runtime/arcane/modules/BrowserTestSuite.js +326 -0
- package/runtime/arcane/modules/CalculatorEngine.js +20 -0
- package/runtime/arcane/modules/CaseEvidenceIndexer.js +134 -0
- package/runtime/arcane/modules/ChartLibrary.js +35 -0
- package/runtime/arcane/modules/ChatRecords.js +13 -0
- package/runtime/arcane/modules/CommunicationAppController.js +43 -0
- package/runtime/arcane/modules/CommunicationHub.js +16 -0
- package/runtime/arcane/modules/CommunicationPreferences.js +13 -0
- package/runtime/arcane/modules/CommunicationProviderRegistry.js +16 -0
- package/runtime/arcane/modules/ComponentContracts.js +586 -0
- package/runtime/arcane/modules/ConfiguredAIChatSession.js +288 -0
- package/runtime/arcane/modules/ConversationActionItems.js +488 -0
- package/runtime/arcane/modules/ConversationClosingReport.js +274 -0
- package/runtime/arcane/modules/ConversationTimebox.js +527 -0
- package/runtime/arcane/modules/CoreLocalModelCatalog.js +255 -0
- package/runtime/arcane/modules/DBLS.js +171 -0
- package/runtime/arcane/modules/DBOPFS.js +1154 -0
- package/runtime/arcane/modules/DBOPFSWorker.js +116 -0
- package/runtime/arcane/modules/DataMaintenance.js +91 -0
- package/runtime/arcane/modules/DevelopmentWorkspace.js +74 -0
- package/runtime/arcane/modules/DirectoryPicker.js +109 -0
- package/runtime/arcane/modules/DocumentNavigation.js +223 -0
- package/runtime/arcane/modules/Errors.js +1025 -0
- package/runtime/arcane/modules/GifEncoder.js +29 -0
- package/runtime/arcane/modules/HTMLImport.js +114 -0
- package/runtime/arcane/modules/InMemoryCommunicationProvider.js +14 -0
- package/runtime/arcane/modules/IsolatedModelQuestionRunner.js +275 -0
- package/runtime/arcane/modules/LocalAIReadiness.js +870 -0
- package/runtime/arcane/modules/LocalAIReadinessController.js +156 -0
- package/runtime/arcane/modules/MD.js +111 -0
- package/runtime/arcane/modules/Mail.js +352 -0
- package/runtime/arcane/modules/MailTransport.mjs +180 -0
- package/runtime/arcane/modules/Marked.min.js +71 -0
- package/runtime/arcane/modules/MemoryRecords.js +44 -0
- package/runtime/arcane/modules/MessageAdvisory.js +38 -0
- package/runtime/arcane/modules/ModelDefinition.js +189 -0
- package/runtime/arcane/modules/Ollama.js +74 -0
- package/runtime/arcane/modules/OllamaModelIdentifier.js +21 -0
- package/runtime/arcane/modules/OllamaSettings.js +24 -0
- package/runtime/arcane/modules/OpenMeteoWeatherProvider.js +14 -0
- package/runtime/arcane/modules/PreferenceStore.js +109 -0
- package/runtime/arcane/modules/QRCode.min.js +1 -0
- package/runtime/arcane/modules/Questionnaire.js +61 -0
- package/runtime/arcane/modules/RecordLinkIndex.js +24 -0
- package/runtime/arcane/modules/RecordPassageIndex.js +222 -0
- package/runtime/arcane/modules/RecordReviewStore.js +94 -0
- package/runtime/arcane/modules/RevocableProjectionLedger.js +1623 -0
- package/runtime/arcane/modules/RiskSignalAnalyzer.js +37 -0
- package/runtime/arcane/modules/ScamRiskPolicy.js +62 -0
- package/runtime/arcane/modules/ScopedOPFSCache.js +183 -0
- package/runtime/arcane/modules/ScreenCapture.js +20 -0
- package/runtime/arcane/modules/SpeechPlayback.js +581 -0
- package/runtime/arcane/modules/StaticDocumentCatalog.js +1248 -0
- package/runtime/arcane/modules/SystemAppearance.js +20 -0
- package/runtime/arcane/modules/SystemPlatformPresentation.js +51 -0
- package/runtime/arcane/modules/SystemToolRegistry.js +28 -0
- package/runtime/arcane/modules/TerminalClient.js +52 -0
- package/runtime/arcane/modules/TerminalCommandRegistry.js +50 -0
- package/runtime/arcane/modules/ThemeBootstrap.js +26 -0
- package/runtime/arcane/modules/ThemeManager.js +131 -0
- package/runtime/arcane/modules/TimeGuard.js +149 -0
- package/runtime/arcane/modules/ToolCallRouter.js +83 -0
- package/runtime/arcane/modules/WaitForComponent.js +102 -0
- package/runtime/arcane/modules/YouTubeMedia.js +16 -0
- package/runtime/arcane/modules/uPlot.LICENSE.txt +21 -0
- package/runtime/arcane/modules/uPlot.iife.min.js +2 -0
- package/runtime/arcane/modules/uPlot.min.css +1 -0
- package/runtime/arcane/security/arcane-network-policy.json +6 -0
- package/runtime/strong-type/index.js +352 -0
- package/runtime/strong-type/licence +21 -0
- package/runtime/strong-type/package.json +45 -0
- package/schemas/arcane-app-bundle.schema.json +125 -0
- package/schemas/arcane-app.schema.json +329 -0
- package/schemas/arcane-lock.schema.json +86 -0
- package/schemas/arcane-package.schema.json +224 -0
- package/schemas/cli-event.schema.json +122 -0
- package/schemas/event-stack.schema.json +152 -0
- package/schemas/native-build-plan.schema.json +176 -0
- package/schemas/target-adapter.schema.json +117 -0
- package/src/app-descriptor.mjs +500 -0
- package/src/cli/main.mjs +561 -0
- package/src/constants.mjs +31 -0
- package/src/dev-server.mjs +718 -0
- package/src/doctor.mjs +315 -0
- package/src/dom-event-instrumentation.mjs +594 -0
- package/src/errors.mjs +75 -0
- package/src/event-manager.mjs +1342 -0
- package/src/event-queue.mjs +138 -0
- package/src/events.mjs +219 -0
- package/src/index.mjs +177 -0
- package/src/integrated-provider-loader.mjs +432 -0
- package/src/native-plan.mjs +698 -0
- package/src/native-provider-loader.mjs +1126 -0
- package/src/packager/core.mjs +2691 -0
- package/src/process.mjs +353 -0
- package/src/release-bundle.mjs +2523 -0
- package/src/repository.mjs +90 -0
- package/src/runtime.mjs +452 -0
- package/src/scaffold.mjs +380 -0
- package/src/targets/index.mjs +436 -0
- package/src/templates/assets/app-icon.png +0 -0
- package/src/templates/workspace-template.mjs +388 -0
- package/src/testing-loader.mjs +9 -0
- package/src/testing.mjs +427 -0
- package/src/toolchain.mjs +1335 -0
- package/src/update-check.mjs +307 -0
- package/src/workspace.mjs +449 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Brandon Nozaki Miller
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import Is from './index.js';
|
|
2
|
+
import * as util from 'node:util';
|
|
3
|
+
import * as stream from 'node:stream';
|
|
4
|
+
import * as events from 'node:events';
|
|
5
|
+
import * as crypto from 'node:crypto';
|
|
6
|
+
|
|
7
|
+
let timeoutConstructor;
|
|
8
|
+
let immediateConstructor;
|
|
9
|
+
|
|
10
|
+
const instanceOf=function(value,constructor){
|
|
11
|
+
if(typeof constructor !== 'function'){
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
try{
|
|
16
|
+
return value instanceof constructor;
|
|
17
|
+
}catch(err){
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const timerConstructor=function(type){
|
|
23
|
+
if(type === 'timeout' && !timeoutConstructor){
|
|
24
|
+
const timeout=setTimeout(()=>{},0);
|
|
25
|
+
clearTimeout(timeout);
|
|
26
|
+
timeoutConstructor=timeout.constructor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if(type === 'immediate' && !immediateConstructor && typeof setImmediate === 'function'){
|
|
30
|
+
const immediate=setImmediate(()=>{});
|
|
31
|
+
clearImmediate(immediate);
|
|
32
|
+
immediateConstructor=immediate.constructor;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return type === 'timeout' ? timeoutConstructor : immediateConstructor;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
class IsNode extends Is{
|
|
39
|
+
utilTypeCheck(value,method,typeName){
|
|
40
|
+
const check=util.types && util.types[method];
|
|
41
|
+
let pass=false;
|
|
42
|
+
try{
|
|
43
|
+
pass=typeof check === 'function' && check(value);
|
|
44
|
+
}catch(err){
|
|
45
|
+
pass=false;
|
|
46
|
+
}
|
|
47
|
+
return this.check(value,pass,typeName);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
buffer(value){
|
|
51
|
+
return this.check(value,Buffer.isBuffer(value),'Buffer');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
nodeStream(value){
|
|
55
|
+
return this.check(value,instanceOf(value,stream.Stream),'Node Stream');
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
nodeReadable(value){
|
|
59
|
+
return this.check(value,instanceOf(value,stream.Readable),'Node Readable');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
nodeWritable(value){
|
|
63
|
+
return this.check(value,instanceOf(value,stream.Writable),'Node Writable');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
nodeDuplex(value){
|
|
67
|
+
return this.check(value,instanceOf(value,stream.Duplex),'Node Duplex');
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
nodeTransform(value){
|
|
71
|
+
return this.check(value,instanceOf(value,stream.Transform),'Node Transform');
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
nodePassThrough(value){
|
|
75
|
+
return this.check(value,instanceOf(value,stream.PassThrough),'Node PassThrough');
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
eventEmitter(value){
|
|
79
|
+
return this.check(value,instanceOf(value,events.EventEmitter),'EventEmitter');
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
timeout(value){
|
|
83
|
+
const constructor=timerConstructor('timeout');
|
|
84
|
+
return this.check(value,instanceOf(value,constructor),'Timeout');
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
immediate(value){
|
|
88
|
+
const constructor=timerConstructor('immediate');
|
|
89
|
+
return this.check(value,instanceOf(value,constructor),'Immediate');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
keyObject(value){
|
|
93
|
+
return this.check(value,instanceOf(value,crypto.KeyObject),'KeyObject');
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
x509Certificate(value){
|
|
97
|
+
return this.check(value,instanceOf(value,crypto.X509Certificate),'X509Certificate');
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
proxy(value){
|
|
101
|
+
return this.utilTypeCheck(value,'isProxy','Proxy');
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
moduleNamespaceObject(value){
|
|
105
|
+
return this.utilTypeCheck(value,'isModuleNamespaceObject','module namespace object');
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
external(value){
|
|
109
|
+
return this.utilTypeCheck(value,'isExternal','native external value');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
nativeError(value){
|
|
113
|
+
return this.utilTypeCheck(value,'isNativeError','native Error');
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
mapIterator(value){
|
|
117
|
+
return this.utilTypeCheck(value,'isMapIterator','Map iterator');
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
setIterator(value){
|
|
121
|
+
return this.utilTypeCheck(value,'isSetIterator','Set iterator');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export {IsNode as default,IsNode};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "strong-type",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Dependency-free native ESM type enforcement for JavaScript values, objects, classes, browsers, and Node.",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.js",
|
|
9
|
+
"./index.js": "./index.js",
|
|
10
|
+
"./node": "./node.js",
|
|
11
|
+
"./node.js": "./node.js",
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"index.js",
|
|
16
|
+
"node.js",
|
|
17
|
+
"assets/strong-type-header.png",
|
|
18
|
+
"README.md",
|
|
19
|
+
"licence"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"directories": {
|
|
23
|
+
"example": "example"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=12.21.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"test": "node scripts/test.js",
|
|
30
|
+
"test:core": "node scripts/test.js core",
|
|
31
|
+
"test:node": "node scripts/test.js node",
|
|
32
|
+
"test:docs": "node scripts/test.js docs",
|
|
33
|
+
"test:legacy": "node scripts/test.js legacy",
|
|
34
|
+
"coverage": "node --test --experimental-test-coverage --test-coverage-include=index.js --test-coverage-include=node.js --test-coverage-lines=95 --test-coverage-branches=90 --test-coverage-functions=95 test/CI.js test/node.js test/docs.js",
|
|
35
|
+
"start": "node scripts/serve.js",
|
|
36
|
+
"nodeExample": "node ./example/node/typecheck.js",
|
|
37
|
+
"check": "npm test"
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/RIAEvangelist/strong-type.git"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"strong",
|
|
45
|
+
"type",
|
|
46
|
+
"validation",
|
|
47
|
+
"validate",
|
|
48
|
+
"check",
|
|
49
|
+
"checking",
|
|
50
|
+
"esm",
|
|
51
|
+
"isomorphic",
|
|
52
|
+
"browser",
|
|
53
|
+
"node"
|
|
54
|
+
],
|
|
55
|
+
"author": "Roshi _ _",
|
|
56
|
+
"license": "MIT",
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/RIAEvangelist/strong-type/issues"
|
|
59
|
+
},
|
|
60
|
+
"homepage": "https://riaevangelist.github.io/strong-type/"
|
|
61
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "arcane-os",
|
|
3
|
+
"version": "0.1.0-dev.5",
|
|
4
|
+
"description": "Arcane OS application SDK, CLI, browser runtime, and cross-platform build toolchain.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./src/index.mjs",
|
|
7
|
+
"bin": {
|
|
8
|
+
"arcane": "./bin/arcane.mjs",
|
|
9
|
+
"arcane-os": "./bin/arcane.mjs"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./src/index.mjs",
|
|
13
|
+
"./toolchain": "./src/toolchain.mjs",
|
|
14
|
+
"./events": "./src/events.mjs",
|
|
15
|
+
"./event-manager": "./src/event-manager.mjs",
|
|
16
|
+
"./testing": "./src/testing.mjs",
|
|
17
|
+
"./targets": "./src/targets/index.mjs",
|
|
18
|
+
"./native": "./src/native-plan.mjs",
|
|
19
|
+
"./native-provider": "./src/native-provider-loader.mjs",
|
|
20
|
+
"./integrated-provider": "./src/integrated-provider-loader.mjs",
|
|
21
|
+
"./packager": "./src/packager/core.mjs",
|
|
22
|
+
"./release-bundle": "./src/release-bundle.mjs",
|
|
23
|
+
"./runtime/manifest": "./runtime/ARCANE_RUNTIME_RELEASE.json",
|
|
24
|
+
"./schemas/arcane-app.json": "./schemas/arcane-app.schema.json",
|
|
25
|
+
"./schemas/arcane-package.json": "./schemas/arcane-package.schema.json",
|
|
26
|
+
"./schemas/arcane-app-bundle.json": "./schemas/arcane-app-bundle.schema.json",
|
|
27
|
+
"./schemas/arcane-lock.json": "./schemas/arcane-lock.schema.json",
|
|
28
|
+
"./schemas/cli-event.json": "./schemas/cli-event.schema.json",
|
|
29
|
+
"./schemas/event-stack.json": "./schemas/event-stack.schema.json",
|
|
30
|
+
"./schemas/native-build-plan.json": "./schemas/native-build-plan.schema.json",
|
|
31
|
+
"./schemas/target-adapter.json": "./schemas/target-adapter.schema.json",
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"bin/",
|
|
36
|
+
"src/",
|
|
37
|
+
"runtime/",
|
|
38
|
+
"schemas/",
|
|
39
|
+
"docs/",
|
|
40
|
+
"README.md",
|
|
41
|
+
"CHANGELOG.md",
|
|
42
|
+
"LICENSE",
|
|
43
|
+
"COMMERCIAL-LICENSE.md",
|
|
44
|
+
"NOTICE"
|
|
45
|
+
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"test": "npm run test:unit && npm run test:functional && npm run test:integration && npm run test:regression",
|
|
48
|
+
"test:unit": "node ./bin/arcane-test.mjs test/app-descriptor.test.mjs test/app-schema.test.mjs test/contracts.test.mjs test/doctor.test.mjs test/targets.test.mjs",
|
|
49
|
+
"test:functional": "node ./bin/arcane-test.mjs test/cli.test.mjs test/dev-server.test.mjs test/dom-event-instrumentation.test.mjs test/event-manager.test.mjs test/events.test.mjs test/packaging.test.mjs test/reference-completeness.test.mjs test/runtime-api-behavior.test.mjs test/runtime-sync.test.mjs test/runtime.test.mjs test/scaffold.test.mjs test/site.test.mjs test/update-check.test.mjs",
|
|
50
|
+
"test:integration": "node ./bin/arcane-test.mjs test/integrated-shared.test.mjs test/integrated-workspace.test.mjs test/native-plan.test.mjs test/native-provider-loader.test.mjs test/npm-release.test.mjs test/release-bundle.test.mjs test/shared-payload-batch.test.mjs test/tarball.test.mjs",
|
|
51
|
+
"test:regression": "node ./bin/arcane-test.mjs test/channel-workflows.test.mjs test/native-provider-generation.test.mjs test/testing.test.mjs test/test-sets.test.mjs",
|
|
52
|
+
"check": "node tools/check-source.mjs && node tools/runtime-manifest.mjs --verify && npm test",
|
|
53
|
+
"runtime:verify": "node tools/runtime-manifest.mjs --verify",
|
|
54
|
+
"runtime:sync": "node tools/sync-runtime.mjs",
|
|
55
|
+
"pack:local": "npm pack --ignore-scripts",
|
|
56
|
+
"pack:inspect": "npm pack --dry-run --json",
|
|
57
|
+
"release:pack": "node tools/build-npm-release.mjs",
|
|
58
|
+
"release:verify": "node tools/verify-npm-release.mjs",
|
|
59
|
+
"prepack": "npm run check"
|
|
60
|
+
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=22.23.2"
|
|
63
|
+
},
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "git+https://github.com/TheWizardNexus/arcane-os-sdk.git"
|
|
67
|
+
},
|
|
68
|
+
"homepage": "https://thewizardnexus.github.io/arcane-os-sdk/",
|
|
69
|
+
"bugs": {
|
|
70
|
+
"url": "https://github.com/TheWizardNexus/arcane-os-sdk/issues"
|
|
71
|
+
},
|
|
72
|
+
"keywords": [
|
|
73
|
+
"arcane-os",
|
|
74
|
+
"sdk",
|
|
75
|
+
"cli",
|
|
76
|
+
"applications",
|
|
77
|
+
"ollama"
|
|
78
|
+
],
|
|
79
|
+
"author": "The Wizard Nexus",
|
|
80
|
+
"license": "AGPL-3.0-only",
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public",
|
|
83
|
+
"registry": "https://registry.npmjs.org/",
|
|
84
|
+
"tag": "dev"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"event-pubsub": "6.1.0",
|
|
88
|
+
"strong-type": "2.0.0",
|
|
89
|
+
"vanilla-test": "2.1.3"
|
|
90
|
+
},
|
|
91
|
+
"bundleDependencies": [
|
|
92
|
+
"event-pubsub",
|
|
93
|
+
"strong-type"
|
|
94
|
+
]
|
|
95
|
+
}
|