@costrict/cs-darwin-x64-baseline 3.0.17 → 3.0.19

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/bin/cs CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/cs-darwin-x64-baseline",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "os": [
5
5
  "darwin"
6
6
  ],
package/README.md DELETED
@@ -1,143 +0,0 @@
1
- <p align="center">
2
- <a href="https://costrict.ai">
3
- <img src="packages/console/app/src/asset/logo.png" alt="CoStrict logo" width="120">
4
- </a>
5
- </p>
6
- <p align="center">The open source AI coding agent based on opencode with costrict-specific optimizations.</p>
7
- <p align="center">
8
- <a href="https://www.npmjs.com/package/@costrict/cs"><img alt="npm" src="https://img.shields.io/npm/v/@costrict/cs?style=flat-square" /></a>
9
- </p>
10
-
11
- [![CoStrict Terminal UI](packages/web/src/assets/lander/screenshot.png)](https://costrict.ai)
12
-
13
- ---
14
-
15
- ### Installation
16
-
17
- **Using npm:**
18
-
19
- ```bash
20
- npm i -g @costrict/cs@latest
21
- ```
22
-
23
- **Using curl (one-liner):**
24
-
25
- ```bash
26
- # Linux / macOS
27
- curl -fsSL https://costrict.ai/install.sh | bash
28
-
29
- # Windows 10+ (CMD / PowerShell)
30
- powershell iwr https://costrict.ai/install.bat -Out install.bat;.\install.bat
31
- ```
32
-
33
- > [!TIP]
34
- > Remove versions older than 2.x before installing.
35
-
36
- ### Agents
37
-
38
- CoStrict includes two built-in agents you can switch between with the `Tab` key.
39
-
40
- - **build** - Default, full-access agent for development work
41
- - **plan** - Read-only agent for analysis and code exploration
42
- - Denies file edits by default
43
- - Asks permission before running bash commands
44
- - Ideal for exploring unfamiliar codebases or planning changes
45
-
46
- Also included is a **general** subagent for complex searches and multistep tasks.
47
- This is used internally and can be invoked using `@general` in messages.
48
-
49
- #### CoStrict Specialized Agents
50
-
51
- CoStrict's agent system includes 11 specialized agents for different tasks:
52
-
53
- - **WikiProjectAnalyze** - Project classification analysis
54
- - **WikiCatalogueDesign** - Document structure design
55
- - **WikiDocumentGenerate** - Document generation
56
- - **WikiIndexGeneration** - Index file generation
57
- - **Coding** - Coding agent
58
- - **FixAgent** - Fix agent
59
- - **QuickExplore** - Quick exploration
60
- - **StrictPlan** - Strict planning
61
- - **SubCoding** - Sub-coding
62
- - **TaskCheck** - Task checking
63
- - **TDD** - Test-driven development
64
-
65
- Learn more about [agents](https://docs.costrict.ai/cli/category/product-features).
66
-
67
- ### CoStrict-Specific Optimizations
68
-
69
- CoStrict provides several optimizations on top of the base agent system to improve development efficiency and stability.
70
-
71
- #### AI Provider Optimizations
72
-
73
- - **CoStrict Provider**: Custom AI model provider supporting multiple model integrations
74
- - **Automatic Token Refresh**: Proactive token refresh and 401 error recovery to ensure session continuity
75
- - **Dynamic Model List**: Real-time fetching of available models from API, no manual configuration updates needed
76
-
77
- #### Advanced Tool System
78
-
79
- CoStrict provides a suite of advanced tools for automating complex tasks:
80
-
81
- - **sequential-thinking**: Structured thinking tool supporting dynamic step count adjustment, thought revision, and branch creation for step-by-step analysis of complex problems
82
- - **call-graph**: Call graph analysis tool that analyzes function call relationships and symbol resolution to help understand code structure
83
- - **file-importance**: File importance analysis tool that evaluates file importance across multiple dimensions to optimize code review and refactoring decisions
84
- - **file-outline**: File structure extraction tool that extracts class, function, method definitions, and docstrings for quick understanding of code organization
85
- - **checkpoint**: Git checkpoint tool for creating, viewing, and restoring checkpoints to support safe experimentation and state recovery
86
-
87
- #### Specialized Agent System
88
-
89
- CoStrict includes 11 specialized agents covering various development scenarios:
90
-
91
- - **Wiki Generation Agents**: Automatically generate project technical documentation, including architecture descriptions, API documentation, etc.
92
- - **TDD Agent**: Test-driven development support, automatically generating test cases and validating code
93
- - **QuickExplore Agent**: Fast project exploration and code understanding to help quickly get started with new projects
94
- - Other specialized agents cover code review, performance optimization, security checks, and more
95
-
96
- #### Enhanced Error Handling
97
-
98
- - **Intelligent Error Recognition**: Automatically identifies common error types like 503, 429
99
- - **Automatic Retry**: Supports automatic retry for 503, 429, connection errors, etc., improving task success rate
100
- - **Output Length Limit**: Automatically handles output length limit errors to ensure complete responses
101
-
102
- ### Documentation
103
-
104
- For more info on how to configure CoStrict, visit our [official documentation](https://docs.costrict.ai/cli/guide/introduction) or [**head over to our docs**](https://costrict.ai/docs).
105
-
106
- ### Building on CoStrict
107
-
108
- If you are working on a project that's related to CoStrict and is using "costrict" as part of its name, for example "costrict-dashboard" or "costrict-mobile", please add a note to your README to clarify that it is not built by the CoStrict team and is not affiliated with us in any way.
109
-
110
- ### FAQ
111
-
112
- #### How is this different from OpenCode?
113
-
114
- It's very similar to OpenCode in terms of capability. Here are the key differences:
115
-
116
- - **AI Provider**: CoStrict Provider supports automatic token refresh and 401 error recovery
117
- - **Tool System**: 5 advanced tools (sequential-thinking, call-graph, file-importance, file-outline, checkpoint)
118
- - **Agent System**: Expanded from 4 to 11 specialized agents
119
- - **Error Handling**: Intelligent recognition and automatic retry for 503, 429 errors
120
- - **Plugin System**: @costrict/notify plugin and notification intervention system
121
- - **Deployment Support**: Optimized Dockerfile and multi-platform NPM image sync
122
- - **Documentation System**: Automatic project technical documentation and indexing
123
-
124
- #### How is this different from Claude Code?
125
-
126
- It's very similar to Claude Code in terms of capability. Here are the key differences:
127
-
128
- - 100% open source
129
- - Not coupled to any provider. Although we recommend [CoStrict Pricing Plans](https://costrict.ai/pricing), CoStrict can be used with Claude, OpenAI, Google, or even local models. As models evolve, the gaps between them will close and pricing will drop, so being provider-agnostic is important.
130
- - Out-of-the-box LSP support
131
- - A focus on TUI. CoStrict is built by neovim users and the creators of [terminal.shop](https://terminal.shop); we are going to push the limits of what's possible in the terminal.
132
- - A client/server architecture. This, for example, can allow CoStrict to run on your computer while you drive it remotely from a mobile app, meaning that the TUI frontend is just one of the possible clients.
133
- - **CoStrict-specific optimizations**: Advanced tool system, specialized agents, intelligent error handling
134
-
135
- ---
136
-
137
- ### Community Communication & Feedback
138
-
139
- <p align="center">
140
- <img src="packages/console/app/src/asset/wechat.png" alt="WeChat QR Code" width="100">
141
- &nbsp;&nbsp;&nbsp;&nbsp;
142
- <img src="packages/console/app/src/asset/communication_group.webp" alt="Communication Group QR Code" width="100">
143
- </p>