clasp-ai 0.0.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.
@@ -0,0 +1,87 @@
1
+ {
2
+ "startTime": 1764962870165,
3
+ "sessionId": "session-1764962870165",
4
+ "lastActivity": 1764962870165,
5
+ "sessionDuration": 0,
6
+ "totalTasks": 1,
7
+ "successfulTasks": 1,
8
+ "failedTasks": 0,
9
+ "totalAgents": 0,
10
+ "activeAgents": 0,
11
+ "neuralEvents": 0,
12
+ "memoryMode": {
13
+ "reasoningbankOperations": 0,
14
+ "basicOperations": 0,
15
+ "autoModeSelections": 0,
16
+ "modeOverrides": 0,
17
+ "currentMode": "auto"
18
+ },
19
+ "operations": {
20
+ "store": {
21
+ "count": 0,
22
+ "totalDuration": 0,
23
+ "errors": 0
24
+ },
25
+ "retrieve": {
26
+ "count": 0,
27
+ "totalDuration": 0,
28
+ "errors": 0
29
+ },
30
+ "query": {
31
+ "count": 0,
32
+ "totalDuration": 0,
33
+ "errors": 0
34
+ },
35
+ "list": {
36
+ "count": 0,
37
+ "totalDuration": 0,
38
+ "errors": 0
39
+ },
40
+ "delete": {
41
+ "count": 0,
42
+ "totalDuration": 0,
43
+ "errors": 0
44
+ },
45
+ "search": {
46
+ "count": 0,
47
+ "totalDuration": 0,
48
+ "errors": 0
49
+ },
50
+ "init": {
51
+ "count": 0,
52
+ "totalDuration": 0,
53
+ "errors": 0
54
+ }
55
+ },
56
+ "performance": {
57
+ "avgOperationDuration": 0,
58
+ "minOperationDuration": null,
59
+ "maxOperationDuration": null,
60
+ "slowOperations": 0,
61
+ "fastOperations": 0,
62
+ "totalOperationTime": 0
63
+ },
64
+ "storage": {
65
+ "totalEntries": 0,
66
+ "reasoningbankEntries": 0,
67
+ "basicEntries": 0,
68
+ "databaseSize": 0,
69
+ "lastBackup": null,
70
+ "growthRate": 0
71
+ },
72
+ "errors": {
73
+ "total": 0,
74
+ "byType": {},
75
+ "byOperation": {},
76
+ "recent": []
77
+ },
78
+ "reasoningbank": {
79
+ "semanticSearches": 0,
80
+ "sqlFallbacks": 0,
81
+ "embeddingGenerated": 0,
82
+ "consolidations": 0,
83
+ "avgQueryTime": 0,
84
+ "cacheHits": 0,
85
+ "cacheMisses": 0
86
+ }
87
+ }
@@ -0,0 +1,10 @@
1
+ [
2
+ {
3
+ "id": "cmd-hooks-1764962870434",
4
+ "type": "hooks",
5
+ "success": true,
6
+ "duration": 67.44506799999999,
7
+ "timestamp": 1764962870501,
8
+ "metadata": {}
9
+ }
10
+ ]
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # CLASP
2
+
3
+ **C**laude **L**anguage **A**gent **S**uper **P**roxy
4
+
5
+ Run Claude Code with any LLM provider - OpenAI, Azure, OpenRouter, and more.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install -g clasp-ai
11
+ ```
12
+
13
+ ## Features (Coming Soon)
14
+
15
+ - **Multi-Provider Support**: OpenAI, Azure OpenAI, OpenRouter, Anthropic, custom endpoints
16
+ - **Zero Configuration**: Auto-detects provider from environment variables
17
+ - **Interactive Setup**: Guided configuration for any provider
18
+ - **Model Selection**: Dynamic model fetching from provider APIs
19
+ - **Profile System**: Save and switch between provider configurations
20
+ - **Auto-Update**: Built-in update mechanism
21
+
22
+ ## Supported Providers
23
+
24
+ | Provider | Models | Status |
25
+ |----------|--------|--------|
26
+ | OpenRouter | 200+ models | Coming Soon |
27
+ | OpenAI | GPT-4o, o1, o3 | Coming Soon |
28
+ | Azure OpenAI | Enterprise deployments | Coming Soon |
29
+ | Anthropic | Claude (passthrough) | Coming Soon |
30
+ | Custom | Ollama, vLLM, LM Studio | Coming Soon |
31
+
32
+ ## Usage (Preview)
33
+
34
+ ```bash
35
+ # With OpenRouter (default)
36
+ export OPENROUTER_API_KEY=sk-or-...
37
+ clasp
38
+
39
+ # With OpenAI
40
+ export PROVIDER=openai
41
+ export OPENAI_API_KEY=sk-...
42
+ clasp --model gpt-4o
43
+
44
+ # With Azure
45
+ export PROVIDER=azure
46
+ export AZURE_API_KEY=...
47
+ export AZURE_OPENAI_ENDPOINT=https://xxx.openai.azure.com
48
+ export AZURE_DEPLOYMENT_NAME=gpt-4
49
+ clasp
50
+
51
+ # With local Ollama
52
+ export PROVIDER=custom
53
+ export CUSTOM_BASE_URL=http://localhost:11434/v1
54
+ clasp --model llama3.1:70b
55
+ ```
56
+
57
+ ## License
58
+
59
+ MIT
package/bin/clasp ADDED
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ console.log(`
3
+ _____ _ _ ____ ____
4
+ / ____| | / \\ / ___|| _ \\
5
+ | | | | / _ \\ \\___ \\| |_) |
6
+ | | | |___ / ___ \\ ___) | __/
7
+ \\_____|_____/_/ \\_\\____/|_|
8
+
9
+ Claude Language Agent Super Proxy
10
+
11
+ Version: 0.0.1 (placeholder)
12
+
13
+ Full implementation coming soon!
14
+
15
+ This will allow you to run Claude Code with:
16
+ - OpenAI (direct)
17
+ - Azure OpenAI
18
+ - OpenRouter (200+ models)
19
+ - Any OpenAI-compatible endpoint (Ollama, vLLM, etc.)
20
+
21
+ GitHub: https://github.com/yourname/clasp-ai
22
+ `);
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "clasp-ai",
3
+ "version": "0.0.1",
4
+ "description": "CLASP - Claude Language Agent Super Proxy. Run Claude Code with any LLM provider - OpenAI, Azure, OpenRouter, and more.",
5
+ "bin": {
6
+ "clasp": "./bin/clasp"
7
+ },
8
+ "scripts": {
9
+ "postinstall": "node postinstall.js || true"
10
+ },
11
+ "keywords": [
12
+ "claude",
13
+ "claude-code",
14
+ "openai",
15
+ "openrouter",
16
+ "azure",
17
+ "anthropic",
18
+ "llm",
19
+ "proxy",
20
+ "ai",
21
+ "clasp",
22
+ "gpt",
23
+ "gemini",
24
+ "grok"
25
+ ],
26
+ "author": "",
27
+ "license": "MIT",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/yourname/clasp-ai"
31
+ },
32
+ "homepage": "https://github.com/yourname/clasp-ai#readme",
33
+ "engines": {
34
+ "node": ">=18.0.0"
35
+ },
36
+ "os": ["darwin", "linux", "win32"],
37
+ "cpu": ["x64", "arm64"]
38
+ }
package/postinstall.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ // Placeholder postinstall script
3
+ // Will download platform-specific Go binary in the full release
4
+ console.log('clasp-ai installed successfully!');