@webship.co/workspace-rag 0.0.0-stage → 1.0.0-beta1
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/README.md +28 -2
- package/commands/cmd-milvus-backup.sh +22 -0
- package/commands/cmd-milvus-mcp.sh +21 -0
- package/commands/cmd-milvus-project.sh +22 -0
- package/commands/cmd-tools-rag.sh +22 -0
- package/commands/cmd-tools-reclaim.sh +24 -0
- package/config/workspace.rag.settings.yml +90 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/index.js +17 -0
- package/dist/src/index.js.map +1 -0
- package/docs/AGENTS.md +47 -0
- package/docs/CLAUDE.md +7 -0
- package/docs/README.md +10 -0
- package/features/rag.feature +13 -0
- package/package.json +55 -4
package/README.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @webship.co/workspace-rag
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The **RAG** workspace of the [Webship Workspace](https://github.com/webship/workspace) dashboard:
|
|
4
|
+
the `rag/` folder (type `sites`), its settings file (`core/config/workspace.rag.settings.yml`),
|
|
5
|
+
its commands and its docs, as a plugin.
|
|
6
|
+
|
|
7
|
+
## Use it
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
cd ~/workspace
|
|
11
|
+
bash core/scripts/plugins.sh --require github:webship/workspace-rag
|
|
12
|
+
bash core/scripts/plugins.sh --activate rag # puts `rag` on the workspaces list of settings.yml
|
|
13
|
+
bash core/scripts/plugins.sh --install rag # the folder, its settings file (once), its commands, its docs (once)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The settings file and the docs are placed once and never overwritten: they hold what you put there.
|
|
17
|
+
`--deactivate` takes the workspace off the list; the folder and its content stay.
|
|
18
|
+
|
|
19
|
+
## The commands
|
|
20
|
+
|
|
21
|
+
| Command |
|
|
22
|
+
| --- |
|
|
23
|
+
| `cmd-milvus-backup.sh` |
|
|
24
|
+
| `cmd-milvus-mcp.sh` |
|
|
25
|
+
| `cmd-milvus-project.sh` |
|
|
26
|
+
| `cmd-tools-rag.sh` |
|
|
27
|
+
| `cmd-tools-reclaim.sh` |
|
|
28
|
+
|
|
29
|
+
The bash functions these commands call live in the dashboard's `core/scripts/functions`.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# workspace-name: Milvus (backup)
|
|
4
|
+
|
|
5
|
+
# Archive a Milvus instance: the etcd metadata, the MinIO segments and the data directory, plus a
|
|
6
|
+
# JSON manifest of its collections. All three volumes together — a dump of any one of them
|
|
7
|
+
# restores nothing.
|
|
8
|
+
|
|
9
|
+
# Bootstrap.
|
|
10
|
+
# Find the workspace tooling from this script, so a fresh clone needs no setup.
|
|
11
|
+
WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
|
|
12
|
+
source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
|
|
13
|
+
|
|
14
|
+
# Load workspace settings.
|
|
15
|
+
eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.rag.settings.yml);
|
|
16
|
+
|
|
17
|
+
ARGPARSE_DESCRIPTION="Back up a Milvus instance — its metadata, its segments and its collection manifest"
|
|
18
|
+
source ${WORKSPACE_SCRIPTS}/args/arg-milvus-backup.sh || exit 1 ;
|
|
19
|
+
|
|
20
|
+
shift $#;
|
|
21
|
+
|
|
22
|
+
milvus_backup ;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# workspace-name: Milvus (mcp)
|
|
4
|
+
|
|
5
|
+
# Give the Milvus database to the Claude Code CLI over MCP — one registration covers every
|
|
6
|
+
# collection in it, because the server's tools list and search the whole database.
|
|
7
|
+
|
|
8
|
+
# Bootstrap.
|
|
9
|
+
# Find the workspace tooling from this script, so a fresh clone needs no setup.
|
|
10
|
+
WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
|
|
11
|
+
source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
|
|
12
|
+
|
|
13
|
+
# Load workspace settings — the MCP package and the instance defaults live in the milvus: block.
|
|
14
|
+
eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.rag.settings.yml);
|
|
15
|
+
|
|
16
|
+
ARGPARSE_DESCRIPTION="Register, unregister or run the Milvus MCP server for the Claude Code CLI"
|
|
17
|
+
source ${WORKSPACE_SCRIPTS}/args/arg-milvus-mcp.sh || exit 1 ;
|
|
18
|
+
|
|
19
|
+
shift $#;
|
|
20
|
+
|
|
21
|
+
milvus_mcp ;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# workspace-name: Milvus (vector database for RAG)
|
|
4
|
+
|
|
5
|
+
# Run Milvus self-hosted inside DDEV, in the rag workspace.
|
|
6
|
+
# One command for the whole standalone stack: the DDEV project, the Milvus + etcd + MinIO compose
|
|
7
|
+
# services, the Attu web UI, and the nginx reverse proxy that puts all of it on one https origin.
|
|
8
|
+
|
|
9
|
+
# Bootstrap.
|
|
10
|
+
# Find the workspace tooling from this script, so a fresh clone needs no setup.
|
|
11
|
+
WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
|
|
12
|
+
source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
|
|
13
|
+
|
|
14
|
+
# Load workspace settings — every default this command uses lives in the milvus: block there.
|
|
15
|
+
eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.rag.settings.yml);
|
|
16
|
+
|
|
17
|
+
ARGPARSE_DESCRIPTION="Run Milvus self-hosted in DDEV, with the Attu UI and a published gRPC port for pymilvus and MCP"
|
|
18
|
+
source ${WORKSPACE_SCRIPTS}/args/arg-milvus.sh || exit 1 ;
|
|
19
|
+
|
|
20
|
+
shift $#;
|
|
21
|
+
|
|
22
|
+
build_milvus ;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# workspace-name: RAG indexes (list, search, serve over MCP)
|
|
4
|
+
|
|
5
|
+
# Work with the project RAG indexes held in the Milvus instance of this workspace.
|
|
6
|
+
# The indexes are BUILT from each project's own workspace folder:
|
|
7
|
+
# cd ~/workspace/<workspace> && bash cmd-tools-ragify.sh <project>
|
|
8
|
+
|
|
9
|
+
# Bootstrap.
|
|
10
|
+
# Find the workspace tooling from this script, so a fresh clone needs no setup.
|
|
11
|
+
WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
|
|
12
|
+
source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
|
|
13
|
+
|
|
14
|
+
# Load workspace settings.
|
|
15
|
+
eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.rag.settings.yml);
|
|
16
|
+
|
|
17
|
+
ARGPARSE_DESCRIPTION="List, describe, search and remove the project RAG indexes in ~/workspace/rag"
|
|
18
|
+
source ${WORKSPACE_SCRIPTS}/args/arg-rag.sh || exit 1 ;
|
|
19
|
+
|
|
20
|
+
shift $#;
|
|
21
|
+
|
|
22
|
+
rag_command ;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
# Reclaim the disk that REMOVED projects left behind — their DDEV databases, snapshots, built images
|
|
4
|
+
# and containers. A project whose folder is still on disk is never touched, stopped or not.
|
|
5
|
+
#
|
|
6
|
+
# The sweep is machine-wide wherever you run it: it takes no project name, reads WORKSPACE_ROOT, and
|
|
7
|
+
# protects every project folder in the tree — so this copy behaves identically to the one in any other
|
|
8
|
+
# workspace. It ships in each workspace that leans on DDEV, graphify or RAG for the same reason
|
|
9
|
+
# cmd-tools-graphify.sh does: the folder you are standing in is where you look for a cmd-tools-*.
|
|
10
|
+
|
|
11
|
+
# Bootstrap.
|
|
12
|
+
# Find the workspace tooling from this script, so a fresh clone needs no setup.
|
|
13
|
+
WORKSPACE_SCRIPTS="${WORKSPACE_SCRIPTS:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../core/scripts" && pwd)}";
|
|
14
|
+
source ${WORKSPACE_SCRIPTS}/bootstrap.sh || exit 1 ;
|
|
15
|
+
|
|
16
|
+
# Load workspace settings and extra lists.
|
|
17
|
+
eval $(parse_yaml ${WORKSPACE_CONFIG}/workspace.rag.settings.yml);
|
|
18
|
+
|
|
19
|
+
ARGPARSE_DESCRIPTION="Reclaim disk from projects that no longer have a folder — dry run unless --apply"
|
|
20
|
+
source ${WORKSPACE_SCRIPTS}/args/arg-reclaim.sh || exit 1 ;
|
|
21
|
+
|
|
22
|
+
shift $#;
|
|
23
|
+
|
|
24
|
+
reclaim_command ;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
doc:
|
|
2
|
+
name: rag
|
|
3
|
+
|
|
4
|
+
# RAG both builds and holds: a Milvus vector database is a DDEV project (so the page needs the
|
|
5
|
+
# project table, the Build form and the DDEV actions), and the per-project index manifests written
|
|
6
|
+
# by cmd-tools-ragify.sh sit beside it as files.
|
|
7
|
+
#
|
|
8
|
+
# What this workspace is FOR, next to graphs/: graphify parses code deterministically and answers
|
|
9
|
+
# "what depends on what". It reads no Markdown, no Twig, no *.module hooks and none of the Drupal
|
|
10
|
+
# wiring YAML. A RAG index reads exactly those — the prose, the templates, the config — and answers
|
|
11
|
+
# "where is this explained / configured / worded". They are complements, not alternatives.
|
|
12
|
+
presentation:
|
|
13
|
+
icon: tabler:database-search
|
|
14
|
+
# The folder is `rag`; the dashboard card says RAG, because that is what it is called —
|
|
15
|
+
# `label` is the presentational name and never the directory.
|
|
16
|
+
label: RAG
|
|
17
|
+
subtitle: Milvus Vector Databases & Project RAG Indexes
|
|
18
|
+
noun: instance
|
|
19
|
+
kind: projects
|
|
20
|
+
also_files: true
|
|
21
|
+
|
|
22
|
+
# Milvus, self-hosted in DDEV (rag/cmd-milvus-project.sh).
|
|
23
|
+
# These are the DEFAULTS for that command; every one is overridable per run by the matching
|
|
24
|
+
# argument, so a one-off instance needs no settings edit.
|
|
25
|
+
milvus:
|
|
26
|
+
# Default project name, and so the hostname:
|
|
27
|
+
# bash cmd-milvus-project.sh milvus
|
|
28
|
+
# gives https://milvus.rag.workspace.ddev.site (Attu, the web UI) and the canonical
|
|
29
|
+
# https://milvus.ddev.site. More than one instance is fine — each gets its own etcd, object
|
|
30
|
+
# store and gRPC port.
|
|
31
|
+
project: milvus
|
|
32
|
+
# Milvus image tag. 2.6.x is the mature line; its standalone mode needs etcd (metadata) and
|
|
33
|
+
# MinIO (segments) and uses the built-in Woodpecker WAL, so no Pulsar or Kafka.
|
|
34
|
+
# v3.0.0 was released 2026-07-29 — new enough that the default stays on 2.6 until it has run
|
|
35
|
+
# here for a while. Override per run with --milvus-version.
|
|
36
|
+
version: "v2.6.21"
|
|
37
|
+
# Attu, the Milvus web UI (https://github.com/zilliztech/attu). The 3.0.0 tags are betas, so
|
|
38
|
+
# the default is the newest stable 2.6 line.
|
|
39
|
+
attu_version: "v2.6.5"
|
|
40
|
+
# The gRPC/REST port Milvus is published on, on the HOST. The DDEV router serves HTTP(S) only,
|
|
41
|
+
# so a client outside the project's network — pymilvus on this machine, the MCP server, a
|
|
42
|
+
# notebook — reaches Milvus on 127.0.0.1:<this>. Taken as the first free port from here up, so
|
|
43
|
+
# a second instance does not fail to start.
|
|
44
|
+
grpc_port: 19530
|
|
45
|
+
# Which hostname Attu is served on: `hub` is <project>.rag.workspace.ddev.site, `canonical` is
|
|
46
|
+
# <project>.ddev.site, anything else is used verbatim.
|
|
47
|
+
public_uri: hub
|
|
48
|
+
# Milvus authentication. Off by default: this is a local development database on a DDEV
|
|
49
|
+
# network, and every tool here would otherwise need the credential threaded through it. Set
|
|
50
|
+
# `authorization: true` and Milvus enforces its default root:Milvus login (change the password
|
|
51
|
+
# inside Milvus after the first start).
|
|
52
|
+
authorization: false
|
|
53
|
+
token: CHANGE_ME
|
|
54
|
+
# The Milvus MCP server (rag/cmd-milvus-mcp.sh) — what gives the Claude Code CLI its
|
|
55
|
+
# milvus_* tools. PyPI ships it under pre-release version numbers only, so the pin carries the
|
|
56
|
+
# .devN suffix; uvx refuses a bare `mcp-server-milvus` without one.
|
|
57
|
+
mcp:
|
|
58
|
+
package: "mcp-server-milvus==0.1.1.dev9"
|
|
59
|
+
|
|
60
|
+
# How cmd-tools-ragify.sh indexes a project into that database.
|
|
61
|
+
rag:
|
|
62
|
+
# Collection naming: <prefix>_<workspace>_<project>, non-alphanumerics folded to _ because
|
|
63
|
+
# Milvus collection names allow letters, digits and underscore only.
|
|
64
|
+
collection_prefix: ws
|
|
65
|
+
# Retrieval mode.
|
|
66
|
+
# bm25 — Milvus's built-in BM25 function builds the sparse vectors inside the database.
|
|
67
|
+
# No model, no API key, nothing leaves this machine. THE DEFAULT.
|
|
68
|
+
# openai — additionally embeds each chunk with the OpenAI API (the key in settings.yml) and
|
|
69
|
+
# searches dense + sparse together. Better on paraphrase; it does send every indexed
|
|
70
|
+
# chunk to OpenAI, so it is opt-in per run (--embedding openai).
|
|
71
|
+
embedding: bm25
|
|
72
|
+
openai_model: text-embedding-3-small
|
|
73
|
+
# Chunking. Lines rather than tokens: a code chunk that keeps whole lines is one you can open
|
|
74
|
+
# at the reported line number, and the overlap keeps a function that straddles a boundary
|
|
75
|
+
# findable from either side.
|
|
76
|
+
chunk_lines: 60
|
|
77
|
+
chunk_overlap: 10
|
|
78
|
+
# Files larger than this are skipped — a 4 MB minified library is not prose worth retrieving.
|
|
79
|
+
max_file_kb: 512
|
|
80
|
+
|
|
81
|
+
# What this folder's projects are, and which actions their rows offer:
|
|
82
|
+
# sites | code | files | media | ai-items — see core/workspace-app/WORKSPACES.md.
|
|
83
|
+
type: sites
|
|
84
|
+
|
|
85
|
+
# What the assistant is called on THIS workspace's page, and what its composer says when empty.
|
|
86
|
+
# `default` in either means "whatever settings.yml says" — the global value, so a rename there
|
|
87
|
+
# still reaches this page. Set a value here to override it for this workspace alone.
|
|
88
|
+
assistant:
|
|
89
|
+
name: default
|
|
90
|
+
placeholder: default
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The RAG workspace for Webship Workspace: the `rag/` folder as a plugin.
|
|
3
|
+
*
|
|
4
|
+
* What the package carries is placed by the installer from the manifest (the folder's settings file,
|
|
5
|
+
* its commands and its docs) and listed by --activate; the dashboard draws the workspace from the
|
|
6
|
+
* settings file like any other. Nothing to register at run time yet: this is where the folder's own
|
|
7
|
+
* rail buttons, row menus or assistant context would go.
|
|
8
|
+
*/
|
|
9
|
+
import type { PluginApi } from '@webship.co/workspace-plugin-api';
|
|
10
|
+
export declare const WORKSPACE_KEY = "rag";
|
|
11
|
+
export declare function register(api: PluginApi): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The RAG workspace for Webship Workspace: the `rag/` folder as a plugin.
|
|
4
|
+
*
|
|
5
|
+
* What the package carries is placed by the installer from the manifest (the folder's settings file,
|
|
6
|
+
* its commands and its docs) and listed by --activate; the dashboard draws the workspace from the
|
|
7
|
+
* settings file like any other. Nothing to register at run time yet: this is where the folder's own
|
|
8
|
+
* rail buttons, row menus or assistant context would go.
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.WORKSPACE_KEY = void 0;
|
|
12
|
+
exports.register = register;
|
|
13
|
+
exports.WORKSPACE_KEY = 'rag';
|
|
14
|
+
function register(api) {
|
|
15
|
+
api.addAssistantContext(() => `The rag/ workspace is the RAG workspace (a plugin, @webship.co/workspace-rag); its commands are the cmd-*.sh scripts in that folder.`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAMH,4BAEC;AAJY,QAAA,aAAa,GAAG,KAAK,CAAC;AAEnC,SAAgB,QAAQ,CAAC,GAAc;IACrC,GAAG,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAAC,sIAAsI,CAAC,CAAC;AACxK,CAAC"}
|
package/docs/AGENTS.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# RAG
|
|
2
|
+
|
|
3
|
+
The Milvus vector database, and the per-project RAG indexes held in it.
|
|
4
|
+
|
|
5
|
+
Part of the **Webship Workspace** (`~/workspace`), a DDEV-only harness. The rules in the root
|
|
6
|
+
`CLAUDE.md` apply here too; what follows is what is specific to this folder.
|
|
7
|
+
|
|
8
|
+
## What lives here
|
|
9
|
+
|
|
10
|
+
A Milvus instance is a DDEV project like any other — start and stop it from its row. The indexes
|
|
11
|
+
themselves live inside Milvus, not on disk; `bindings.yml` records which instance holds which
|
|
12
|
+
project's index.
|
|
13
|
+
|
|
14
|
+
**Index a project from its own workspace, never from here:**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
cd ~/workspace/dev && bash cmd-tools-ragify.sh <project>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Retrieval is BM25 by default: the database builds the vectors itself, so no model runs and nothing
|
|
21
|
+
leaves this machine.
|
|
22
|
+
|
|
23
|
+
## The rule that matters here
|
|
24
|
+
|
|
25
|
+
Everything goes through DDEV. Never a host `composer`, `drush` or `mysql`:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
ddev composer require drupal/something
|
|
29
|
+
ddev drush cr
|
|
30
|
+
ddev export-db --file=… # not mysqldump
|
|
31
|
+
ddev delete -y -O # not a dropped database
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`ddev start` takes `-y`; **`ddev stop` does not**. Never write a `$databases` block into
|
|
35
|
+
`settings.php` — DDEV's `settings.ddev.php` owns the connection.
|
|
36
|
+
|
|
37
|
+
## Commands here
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
bash cmd-milvus-backup.sh # Milvus (backup)
|
|
41
|
+
bash cmd-milvus-mcp.sh # Milvus (mcp)
|
|
42
|
+
bash cmd-milvus-project.sh # Milvus (vector database for RAG)
|
|
43
|
+
bash cmd-tools-rag.sh # RAG indexes (list, search, serve over MCP)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Every one locates the workspace from its own path, so there is nothing to export and nothing to
|
|
47
|
+
install. `--help` on any of them lists its arguments.
|
package/docs/CLAUDE.md
ADDED
package/docs/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# RAG
|
|
2
|
+
|
|
3
|
+
Vector databases and the per-project indexes built against them.
|
|
4
|
+
|
|
5
|
+
An instance is a DDEV project, so it is built and managed from the dashboard page like any other;
|
|
6
|
+
the index manifests sit beside it as files.
|
|
7
|
+
|
|
8
|
+
What this is for, next to `graphs/`: a graph parses code and answers *what depends on what*. It
|
|
9
|
+
reads no Markdown, no Twig and none of the Drupal wiring YAML. A RAG index reads exactly those —
|
|
10
|
+
the prose, the templates, the configuration — and answers *where is this explained or configured*.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Feature: The RAG workspace plugin
|
|
2
|
+
Once the plugin is activated and installed, the rag workspace is on the dashboard, and the
|
|
3
|
+
Plugins page lists the plugin with its four steps.
|
|
4
|
+
|
|
5
|
+
Scenario: The workspace page is there
|
|
6
|
+
Given I am on "/rag"
|
|
7
|
+
Then the element "h1" should be displayed
|
|
8
|
+
And the element "#webship-workspace-projects, .items-list, .workspace-page" should be attached
|
|
9
|
+
|
|
10
|
+
Scenario: The plugin is listed on the Plugins page
|
|
11
|
+
Given I am on "/settings/plugins"
|
|
12
|
+
Then I should see "RAG"
|
|
13
|
+
And I should see "@webship.co/workspace-rag"
|
package/package.json
CHANGED
|
@@ -1,6 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship.co/workspace-rag",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-beta1",
|
|
4
|
+
"description": "The RAG workspace for Webship Workspace: the `rag/` folder (type sites), its settings file, its 5 commands and its docs, activated as a plugin.",
|
|
5
|
+
"main": "dist/src/index.js",
|
|
6
|
+
"types": "dist/src/index.d.ts",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/webship/workspace-rag.git"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist/src",
|
|
14
|
+
"commands",
|
|
15
|
+
"config",
|
|
16
|
+
"docs",
|
|
17
|
+
"features",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc -p tsconfig.json",
|
|
22
|
+
"prepare": "npm run build",
|
|
23
|
+
"test": "npm run build && node --test dist/tests/*.test.js",
|
|
24
|
+
"lint": "tsc -p tsconfig.json --noEmit"
|
|
25
|
+
},
|
|
26
|
+
"workspacePlugin": {
|
|
27
|
+
"name": "rag",
|
|
28
|
+
"label": "RAG",
|
|
29
|
+
"workspace": {
|
|
30
|
+
"key": "rag",
|
|
31
|
+
"settingsTemplate": "config/workspace.rag.settings.yml",
|
|
32
|
+
"files": [
|
|
33
|
+
"commands/cmd-milvus-backup.sh",
|
|
34
|
+
"commands/cmd-milvus-mcp.sh",
|
|
35
|
+
"commands/cmd-milvus-project.sh",
|
|
36
|
+
"commands/cmd-tools-rag.sh",
|
|
37
|
+
"commands/cmd-tools-reclaim.sh"
|
|
38
|
+
],
|
|
39
|
+
"docs": [
|
|
40
|
+
"docs/AGENTS.md",
|
|
41
|
+
"docs/CLAUDE.md",
|
|
42
|
+
"docs/README.md"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"features": [
|
|
46
|
+
"features/rag.feature"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^24.0.0",
|
|
51
|
+
"@webship.co/workspace-plugin-api": "^1.0.0-beta1",
|
|
52
|
+
"typescript": "^5.9.0"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
}
|
|
57
|
+
}
|