Skip to content

Commit fc85ccd

Browse files
Merge pull request #79 from ApiliumCode/dev
Release v0.6.2
2 parents c40d88b + 3195a21 commit fc85ccd

51 files changed

Lines changed: 680 additions & 218 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Official SDKs for integrating AIngle into your applications:
375375
```javascript
376376
import { AIngleClient } from '@apilium/aingle-sdk';
377377

378-
const client = new AIngleClient('http://localhost:8080');
378+
const client = new AIngleClient('http://localhost:19090');
379379

380380
// Create an entry
381381
const hash = await client.createEntry({ sensor: 'temp', value: 23.5 });
@@ -390,7 +390,7 @@ client.subscribe((entry) => {
390390

391391
```bash
392392
# Start node with REST API enabled
393-
aingle-minimal run --rest-port 8080
393+
aingle-minimal run --rest-port 19080
394394
```
395395

396396
---

crates/aingle_ai/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aingle_ai"
3-
version = "0.6.0"
3+
version = "0.6.2"
44
description = "AI integration layer for AIngle - Ineru, Nested Learning, Kaneru"
55
license = "Apache-2.0 OR LicenseRef-Commercial"
66
repository = "https://github.com/ApiliumCode/aingle"

crates/aingle_contracts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aingle_contracts"
3-
version = "0.6.0"
3+
version = "0.6.2"
44
description = "Smart Contracts DSL and WASM Runtime for AIngle"
55
license = "Apache-2.0 OR LicenseRef-Commercial"
66
repository = "https://github.com/ApiliumCode/aingle"

crates/aingle_cortex/COMPLETION_REPORT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ use aingle_cortex::{CortexServer, CortexConfig};
284284
#[tokio::main]
285285
async fn main() -> Result<(), Box<dyn std::error::Error>> {
286286
let config = CortexConfig::default()
287-
.with_port(8080)
287+
.with_port(19090)
288288
.with_rate_limit_rpm(100);
289289

290290
let server = CortexServer::new(config)?;

crates/aingle_cortex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aingle_cortex"
3-
version = "0.6.1"
3+
version = "0.6.2"
44
description = "Córtex API - REST/GraphQL/SPARQL interface for AIngle semantic graphs"
55
license = "Apache-2.0 OR LicenseRef-Commercial"
66
repository = "https://github.com/ApiliumCode/aingle"

crates/aingle_cortex/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ info:
4040
url: https://www.apache.org/licenses/LICENSE-2.0.html
4141

4242
servers:
43-
- url: http://localhost:8080
43+
- url: http://localhost:19090
4444
description: Local development server
4545
- url: https://api.aingle.apilium.com
4646
description: Production server

crates/aingle_cortex/src/client.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use serde::{Deserialize, Serialize};
1717
/// Configuration for the Cortex internal client.
1818
#[derive(Debug, Clone)]
1919
pub struct CortexClientConfig {
20-
/// Base URL of the Cortex REST API (e.g., "http://127.0.0.1:8080").
20+
/// Base URL of the Cortex REST API (e.g., "http://127.0.0.1:19090").
2121
pub base_url: String,
2222
/// Optional authentication token.
2323
pub auth_token: Option<String>,
@@ -28,7 +28,7 @@ pub struct CortexClientConfig {
2828
impl Default for CortexClientConfig {
2929
fn default() -> Self {
3030
Self {
31-
base_url: "http://127.0.0.1:8080".to_string(),
31+
base_url: "http://127.0.0.1:19090".to_string(),
3232
auth_token: None,
3333
timeout_ms: 5000,
3434
}
@@ -332,7 +332,7 @@ mod tests {
332332
#[test]
333333
fn test_default_config() {
334334
let config = CortexClientConfig::default();
335-
assert_eq!(config.base_url, "http://127.0.0.1:8080");
335+
assert_eq!(config.base_url, "http://127.0.0.1:19090");
336336
assert!(config.auth_token.is_none());
337337
assert_eq!(config.timeout_ms, 5000);
338338
}

crates/aingle_cortex/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
//!
5858
//! #[tokio::main]
5959
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
60-
//! // Start server on localhost:8080
60+
//! // Start server on localhost:19090
6161
//! let config = CortexConfig::default();
6262
//! let server = CortexServer::new(config)?;
6363
//! server.run().await?;
@@ -80,7 +80,7 @@
8080
//! ### Add a Triple
8181
//!
8282
//! ```bash
83-
//! curl -X POST http://localhost:8080/api/v1/triples \
83+
//! curl -X POST http://localhost:19090/api/v1/triples \
8484
//! -H "Content-Type: application/json" \
8585
//! -H "Authorization: Bearer YOUR_TOKEN" \
8686
//! -d '{
@@ -93,13 +93,13 @@
9393
//! ### Query Triples
9494
//!
9595
//! ```bash
96-
//! curl "http://localhost:8080/api/v1/triples?subject=alice"
96+
//! curl "http://localhost:19090/api/v1/triples?subject=alice"
9797
//! ```
9898
//!
9999
//! ### Validate Proof
100100
//!
101101
//! ```bash
102-
//! curl -X POST http://localhost:8080/api/v1/proofs/validate \
102+
//! curl -X POST http://localhost:19090/api/v1/proofs/validate \
103103
//! -H "Content-Type: application/json" \
104104
//! -d '{
105105
//! "proof_type": "schnorr",
@@ -110,7 +110,7 @@
110110
//!
111111
//! ## GraphQL Examples
112112
//!
113-
//! Access the GraphQL playground at `http://localhost:8080/graphql`.
113+
//! Access the GraphQL playground at `http://localhost:19090/graphql`.
114114
//!
115115
//! ### Query
116116
//!

crates/aingle_cortex/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
4545
}
4646
"--port" | "-p" => {
4747
if i + 1 < args.len() {
48-
config.port = args[i + 1].parse().unwrap_or(8080);
48+
config.port = args[i + 1].parse().unwrap_or(19090);
4949
i += 1;
5050
}
5151
}
@@ -344,7 +344,7 @@ fn print_help() {
344344
println!();
345345
println!("OPTIONS:");
346346
println!(" -h, --host <HOST> Host to bind to (default: 127.0.0.1)");
347-
println!(" -p, --port <PORT> Port to listen on (default: 8080)");
347+
println!(" -p, --port <PORT> Port to listen on (default: 19090)");
348348
println!(" --public Bind to all interfaces (0.0.0.0)");
349349
println!(" --db <PATH> Path to graph database (default: ~/.aingle/cortex/graph.sled)");
350350
println!(" --memory Use volatile in-memory storage (no persistence)");

0 commit comments

Comments
 (0)