Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,79 @@
name: Update Docs

on:
push:
push:
branches:
- main
- main

jobs:
update-docs:
update-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v8
- uses: actions/github-script@v8
env:
MINTLIFY_API_KEY: ${{ secrets.MINTLIFY_API_KEY }}
PROJECT_ID: ${{ secrets.MINTLIFY_PROJECT_ID }}
MINTLIFY_API_KEY: ${{ secrets.MINTLIFY_API_KEY }}
PROJECT_ID: ${{ secrets.MINTLIFY_PROJECT_ID }}
with:
script: |
script: |
const { owner, repo } = context.repo;
const projectId = process.env.PROJECT_ID;
const apiKey = process.env.MINTLIFY_API_KEY;

if (!projectId || !apiKey) {
core.setFailed('Missing MINTLIFY_PROJECT_ID or MINTLIFY_API_KEY secrets');
return;
core.warning('MINTLIFY_PROJECT_ID or MINTLIFY_API_KEY is not set; skipping the docs update.');
return;
}

const url = `https://api.mintlify.com/v1/agent/${projectId}/job`;
const payload = {
branch: `mintlify/docs-update-${Date.now()}`,
messages: [
branch: `mintlify/docs-update-${Date.now()}`,
messages: [
{
role: 'system',
content: 'You are an action runner that updates documentation based on code changes. You should never ask questions. If you are not able to access the repository, report the error and exit.'
role: 'system',
content: 'You are an action runner that updates documentation based on code changes. You should never ask questions. If you are not able to access the repository, report the error and exit.'
},
{
role: 'user',
content: `Update the documentation for our recent pushes to main:\n\nRepository: ${owner}/${repo}`
role: 'user',
content: `Update the documentation for our recent pushes to main:\n\nRepository: ${owner}/${repo}`
}
]
]
};

try {
const response = await fetch(url, {
const response = await fetch(url, {
method: 'POST',
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json'
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
});
});

if (!response.ok) {
if (!response.ok) {
throw new Error(`API request failed with status ${response.status}: ${await response.text()}`);
}
}

const reader = response.body.getReader();
const decoder = new TextDecoder();
let buffer = '';
const reader = response.body.getReader();
const decoder = new TextDecoder();
let buffer = '';

while (true) {
while (true) {
const { done, value } = await reader.read();
if (done) break;
buffer += decoder.decode(value, { stream: true });
const lines = buffer.split('\n');
buffer = lines.pop() || '';
for (const line of lines) {
if (line.trim()) {
if (line.trim()) {
console.log(line);
}
}
}
}
if (buffer.trim()) {
}
if (buffer.trim()) {
console.log(buffer);
}
}

core.notice(`Documentation update job triggered for ${owner}/${repo}`);
core.notice(`Documentation update job triggered for ${owner}/${repo}`);
} catch (error) {
core.setFailed(`Failed to create documentation update job: ${error.message}`);
}
core.setFailed(`Failed to create documentation update job: ${error.message}`);
}
2 changes: 1 addition & 1 deletion apps/agentdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
"@ruvector/attention": "^0.1.2",
"@ruvector/gnn": "^0.1.22",
"@ruvector/graph-node": "^0.1.15",
"@ruvector/router": "^0.1.15",
"@ruvector/sona": "^0.1.4",
"@xenova/transformers": "^2.17.2",
"ajv": "^8.17.1",
Expand Down Expand Up @@ -152,6 +151,7 @@
"LICENSE"
],
"optionalDependencies": {
"@ruvector/core": "^0.1.35",
"better-sqlite3": "^11.8.1"
}
}
1 change: 1 addition & 0 deletions apps/agentic-flow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "agentic-flow",
"version": "2.0.1-alpha.5",
"private": true,
"description": "Production-ready AI agent orchestration platform with 66 specialized agents, 213 MCP tools, ReasoningBank learning memory, and autonomous multi-agent swarms. Built by @ruvnet with Claude Agent SDK, neural networks, memory persistence, GitHub integration, and distributed consensus protocols.",
"type": "module",
"main": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions apps/agentic-synth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@ruvector/agentic-synth",
"version": "0.1.6",
"private": true,
"description": "High-performance synthetic data generator for AI/ML training, RAG systems, and agentic workflows with DSPy.ts, Gemini, OpenRouter, and vector databases",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down
Loading
Loading