@niq.run/niq-darwin-x64 0.5.0 → 0.7.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/bin/README.md +9 -9
- package/bin/niq +0 -0
- package/package.json +1 -1
package/bin/README.md
CHANGED
|
@@ -94,11 +94,11 @@ The `reason` worker talks to an LLM provider. Provider settings (endpoint, model
|
|
|
94
94
|
## Project layout
|
|
95
95
|
|
|
96
96
|
```
|
|
97
|
-
core/
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
cmd
|
|
101
|
-
|
|
97
|
+
core/itfs/ interfaces & types (contracts, not implementations)
|
|
98
|
+
core/impl/ implementations (workers, bus, transports, providers, hosts)
|
|
99
|
+
app/ the niq product: control plane, project runtime, WebUI
|
|
100
|
+
app/publish/cmd CLI entry point (package main)
|
|
101
|
+
app/publish/npm npm distribution (launcher shim + package template)
|
|
102
102
|
ext/ external worker implementations (HTTP)
|
|
103
103
|
```
|
|
104
104
|
|
|
@@ -106,20 +106,20 @@ ext/ external worker implementations (HTTP)
|
|
|
106
106
|
|
|
107
107
|
```sh
|
|
108
108
|
go build ./... && go vet ./...
|
|
109
|
-
go test ./
|
|
109
|
+
go test ./core/impl/eventbus/ -count=1
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
The WebUI bundle is committed (it is `go:embed`-ed), so rebuild and commit it
|
|
113
|
-
after changing anything under `
|
|
113
|
+
after changing anything under `app/webui/assets/src`:
|
|
114
114
|
|
|
115
115
|
```sh
|
|
116
|
-
cd
|
|
116
|
+
cd app/webui/assets && npm run build
|
|
117
117
|
```
|
|
118
118
|
|
|
119
119
|
### Frontend development
|
|
120
120
|
|
|
121
121
|
With the control plane running, the Vite dev server (`npm run dev` in
|
|
122
|
-
`
|
|
122
|
+
`app/webui/assets`, port 5173) proxies API traffic to :9527, so both pages
|
|
123
123
|
work with HMR:
|
|
124
124
|
|
|
125
125
|
- control plane UI: http://localhost:5173/
|
package/bin/niq
CHANGED
|
Binary file
|